svn commit: r932376 - /ofbiz/trunk/applications/humanres/widget/CommonScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r932376 - /ofbiz/trunk/applications/humanres/widget/CommonScreens.xml

erwan
Author: erwan
Date: Fri Apr  9 12:13:38 2010
New Revision: 932376

URL: http://svn.apache.org/viewvc?rev=932376&view=rev
Log:
Adding missing decorator when willing to send an email from the HumanRes profile page

Modified:
    ofbiz/trunk/applications/humanres/widget/CommonScreens.xml

Modified: ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/CommonScreens.xml?rev=932376&r1=932375&r2=932376&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/CommonScreens.xml Fri Apr  9 12:13:38 2010
@@ -403,4 +403,31 @@ under the License.
             </widgets>
         </section>
     </screen>
+    <screen name="CommonMyCommunicationEventDecorator">
+        <section>
+            <actions>
+                <script location="component://party/webapp/partymgr/WEB-INF/actions/communication/GetMyCommunicationEventRole.groovy"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="pre-body">
+                        <include-menu name="EmployeeProfileTabBar" location="component://humanres/widget/HumanresMenus.xml"/>
+                    </decorator-section>
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+                                <if-has-permission action="_VIEW" permission="HUMANRES"/>
+                            </condition>
+                            <widgets>
+                                <decorator-section-include name="body"/>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
 </screens>