Author: buscob
Date: Mon Nov 8 19:13:57 2010 New Revision: 1032671 URL: http://svn.apache.org/viewvc?rev=1032671&view=rev Log: ProjectSubTabBar menu is actually a ProjectButtonBar. Added proper style to create button. Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml?rev=1032671&r1=1032670&r2=1032671&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Mon Nov 8 19:13:57 2010 @@ -90,7 +90,7 @@ under the License. </not> </condition> <widgets> - <include-menu name="ProjectSubTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> + <include-menu name="ProjectButtonBar" location="component://projectmgr/widget/ProjectMenus.xml"/> <container style="clear"/> <label style="h1" text="${uiLabelMap.ProjectMgrProjectCurrent}: ${project.workEffortName}[${project.workEffortId}]"/> </widgets> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml?rev=1032671&r1=1032670&r2=1032671&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml Mon Nov 8 19:13:57 2010 @@ -218,8 +218,7 @@ </link> </menu-item> </menu> - <menu name="ProjectSubTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" - menu-container-style="button-bar button-style-2"> + <menu name="ProjectButtonBar" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <actions> <set field="projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/> <set field="hasUpdatePermission" value="${bsh: @@ -230,7 +229,7 @@ "projectId", projectId)); return result.get("hasPermission"); }" type="Boolean"/> </actions> - <menu-item name="newProject" title="${uiLabelMap.ProjectMgrNewProject}"> + <menu-item name="newProject" title="${uiLabelMap.ProjectMgrNewProject}" widget-style="buttontext create"> <condition> <and> <if-compare field="hasUpdatePermission" operator="equals" value="true"/> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml?rev=1032671&r1=1032670&r2=1032671&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Mon Nov 8 19:13:57 2010 @@ -65,7 +65,7 @@ under the License. </section> <decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-menu name="ProjectSubTabBar" location="component://projectmgr/widget/ProjectMenus.xml"/> + <include-menu name="ProjectButtonBar" location="component://projectmgr/widget/ProjectMenus.xml"/> <container style="clear"/> <screenlet name="findProject" collapsible="true" title="${uiLabelMap.PageTitleFindProject}"> <include-form name="FindProject" location="component://projectmgr/widget/forms/ProjectForms.xml"/> |
Free forum by Nabble | Edit this page |