svn commit: r995695 - /ofbiz/trunk/applications/workeffort/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: r995695 - /ofbiz/trunk/applications/workeffort/widget/CommonScreens.xml

buscob
Author: buscob
Date: Fri Sep 10 08:15:37 2010
New Revision: 995695

URL: http://svn.apache.org/viewvc?rev=995695&view=rev
Log:
Moved TabBar menus in the pre-body section

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

Modified: ofbiz/trunk/applications/workeffort/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/CommonScreens.xml?rev=995695&r1=995694&r2=995695&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/CommonScreens.xml Fri Sep 10 08:15:37 2010
@@ -68,6 +68,19 @@ under the License.
             </actions>
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="pre-body">
+                        <section>
+                            <condition>
+                                <and>
+                                    <if-service-permission service-name="workEffortManagerPermission" main-action="VIEW"/>
+                                    <not><if-empty field="workEffortId"/></not>
+                                </and>
+                            </condition>
+                            <widgets>
+                                <include-menu name="WorkEffortTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
                     <decorator-section name="body">
                         <section>
                             <condition>
@@ -81,7 +94,6 @@ under the License.
                                         </not>
                                     </condition>
                                     <widgets>
-                                        <include-menu name="WorkEffortTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
                                         <container style="h1">
                                             <label>${uiLabelMap[titleProperty]} - ${workEffort.workEffortName} [${workEffortId}]</label>
                                         </container>