Author: buscob
Date: Fri Aug 20 16:30:09 2010 New Revision: 987564 URL: http://svn.apache.org/viewvc?rev=987564&view=rev Log: Moved TabBar menus in the pre-body section Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml?rev=987564&r1=987563&r2=987564&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Fri Aug 20 16:30:09 2010 @@ -64,6 +64,19 @@ under the License. </actions> <widgets> <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="pre-body"> + <section> + <condition> + <and> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <not><if-empty field="project"/></not> + </and> + </condition> + <widgets> + <include-menu name="ProjectTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> + </widgets> + </section> + </decorator-section> <decorator-section name="body"> <section> <condition> @@ -77,7 +90,6 @@ under the License. </not> </condition> <widgets> - <include-menu name="ProjectTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> <include-menu name="ProjectSubTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> <container style="clear"/> <label style="h1" text="${uiLabelMap.ProjectMgrProjectCurrent}: ${project.workEffortName}[${project.workEffortId}]"/> @@ -104,6 +116,19 @@ under the License. </actions> <widgets> <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="pre-body"> + <section> + <condition> + <and> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <not><if-empty field="workEffort"/></not> + </and> + </condition> + <widgets> + <include-menu name="TaskTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> + </widgets> + </section> + </decorator-section> <decorator-section name="body"> <section> <condition> @@ -115,7 +140,6 @@ under the License. <not><if-empty field="workEffort"/></not> </condition> <widgets> - <include-menu name="TaskTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> <include-menu name="TaskSubTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> <container style="clear"/> <label style="h1" text="${uiLabelMap.ProjectMgrTaskCurrent}: ${workEffort.workEffortName}[${workEffort.workEffortId}] ${uiLabelMap.ProjectMgrPhaseName}: ${phaseName} ${uiLabelMap.ProjectMgrProjectName}: ${projectName}"/> |
Free forum by Nabble | Edit this page |