Author: jleroux
Date: Sun Sep 29 08:36:03 2019 New Revision: 1867708 URL: http://svn.apache.org/viewvc?rev=1867708&view=rev Log: Improved: Make Create Menu tab bar for TrackingCode consistent (OFBIZ-8199) Add a create TrackingCode tab bar in the main decorator to maintain the consistency throughout the tab bar of TrackingCode. Thanks: Avnindra Sharma for the report and patch Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/TrackingCodeScreens.xml Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/TrackingCodeScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/widget/TrackingCodeScreens.xml?rev=1867708&r1=1867707&r2=1867708&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/marketing/widget/TrackingCodeScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/marketing/widget/TrackingCodeScreens.xml Sun Sep 29 08:36:03 2019 @@ -52,6 +52,11 @@ under the License. <if-has-permission permission="MARKETING" action="_VIEW"/> </condition> <widgets> + <container style="button-bar"> + <link text="${uiLabelMap.MarketingTrackingCodeCreate}" target="/EditTrackingCode" style="buttontext create"> + <parameter param-name="DONE_PAGE" from-field="donePage"/> + </link> + </container> <decorator-section-include name="body"/> </widgets> <fail-widgets> @@ -118,11 +123,6 @@ under the License. <decorator-screen name="CommonTrackingCodeDecorator"> <decorator-section name="body"> <screenlet title="${uiLabelMap.PageTitleListTrackingCode}"> - <container style="button-bar"> - <link text="${uiLabelMap.MarketingTrackingCodeCreate}" target="/EditTrackingCode" style="buttontext create"> - <parameter param-name="DONE_PAGE" from-field="donePage"/> - </link> - </container> <include-grid name="ListTrackingCode" location="component://marketing/widget/TrackingCodeForms.xml"/> </screenlet> </decorator-section> @@ -392,12 +392,12 @@ under the License. <widgets> <decorator-screen name="CommonTrackingCodeDecorator"> <decorator-section name="body"> + <container style="button-bar"> + <link text="${uiLabelMap.MarketingTrackingCodeTypeCreate}" target="/EditTrackingCodeType" style="buttontext create"> + <parameter param-name="DONE_PAGE" from-field="donePage"/> + </link> + </container> <screenlet title="${uiLabelMap.PageTitleListTrackingCodeType}"> - <container style="button-bar"> - <link text="${uiLabelMap.MarketingTrackingCodeTypeCreate}" target="/EditTrackingCodeType" style="buttontext create"> - <parameter param-name="DONE_PAGE" from-field="donePage"/> - </link> - </container> <include-grid name="ListTrackingCodeType" location="component://marketing/widget/TrackingCodeForms.xml"/> </screenlet> </decorator-section> |
Free forum by Nabble | Edit this page |