Author: ashish Date: Sat Sep 17 14:04:04 2016 New Revision: 1761242 URL: http://svn.apache.org/viewvc?rev=1761242&view=rev Log: Improved: Inconsistencies on the title and the label on button of create forms related to manufacturing. (OFBIZ-7876) Thanks: Rahul Bhammarker for the contribution.
Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingScreens.xml Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingScreens.xml?rev=1761242&r1=1761241&r2=1761242&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingScreens.xml (original) +++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingScreens.xml Sat Sep 17 14:04:04 2016 @@ -137,7 +137,7 @@ under the License. <widgets> <decorator-screen name="CommonRoutingDecorator"> <decorator-section name="body"> - <screenlet title="${uiLabelMap.PageTitleEditRouting}"> + <screenlet title="${groovy: workEffortId ? uiLabelMap.PageTitleEditRouting : uiLabelMap.ManufacturingNewRouting}"> <container style="button-bar"> <link target="EditRouting" text="${uiLabelMap.ManufacturingNewRouting}" style="buttontext create"/> </container> @@ -196,7 +196,7 @@ under the License. <widgets> <decorator-screen name="CommonRoutingTaskDecorator"> <decorator-section name="body"> - <screenlet title="${uiLabelMap.PageTitleEditRoutingTask}"> + <screenlet title="${groovy: workEffortId ? uiLabelMap.PageTitleEditRoutingTask : uiLabelMap.ManufacturingNewRoutingTask}"> <container style="button-bar"> <link target="EditRoutingTask" text="${uiLabelMap.ManufacturingNewRoutingTask}" style="buttontext create"/> </container>