Author: jleroux
Date: Sun Sep 29 08:29:10 2019 New Revision: 1867704 URL: http://svn.apache.org/viewvc?rev=1867704&view=rev Log: Improved: Make Create Menu tab bar for Data Source consistent (OFBIZ-8196) Add a create Data Source tab bar in the main decorator to maintain the consistency throughout the tab bar of Data Source. Also a DataSourceTypeCreate button in ListDataSourceType screen Thanks: Avnindra Sharma for the report and patch, Devanshu Vyas for testing Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/DataSourceScreens.xml Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/DataSourceScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/widget/DataSourceScreens.xml?rev=1867704&r1=1867703&r2=1867704&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/marketing/widget/DataSourceScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/marketing/widget/DataSourceScreens.xml Sun Sep 29 08:29:10 2019 @@ -49,6 +49,11 @@ under the License. <if-has-permission permission="MARKETING" action="_VIEW"/> </condition> <widgets> + <container style="button-bar"> + <link text="${uiLabelMap.DataSourceCreate}" target="EditDataSource" style="buttontext create"> + <parameter param-name="DONE_PAGE" from-field="donePage"/> + </link> + </container> <decorator-section-include name="body"/> </widgets> <fail-widgets> @@ -80,11 +85,6 @@ under the License. </condition> <widgets> <screenlet title="${uiLabelMap.PageTitleEditDataSource}"> - <container style="button-bar"> - <link text="${uiLabelMap.DataSourceCreate}" target="EditDataSource" style="buttontext create"> - <parameter param-name="DONE_PAGE" from-field="donePage"/> - </link> - </container> <include-form name="EditDataSource" location="component://marketing/widget/DataSourceForms.xml"/> </screenlet> </widgets> @@ -115,11 +115,6 @@ under the License. <decorator-screen name="CommonDataSourceDecorator"> <decorator-section name="body"> <screenlet title="${uiLabelMap.PageTitleListDataSource}"> - <container style="button-bar"> - <link text="${uiLabelMap.DataSourceCreate}" target="EditDataSource" style="buttontext create"> - <parameter param-name="DONE_PAGE" from-field="donePage"/> - </link> - </container> <include-form name="ListDataSource" location="component://marketing/widget/DataSourceForms.xml"/> </screenlet> </decorator-section> @@ -183,12 +178,12 @@ under the License. <widgets> <decorator-screen name="CommonDataSourceDecorator"> <decorator-section name="body"> + <container style="button-bar"> + <link text="${uiLabelMap.DataSourceTypeCreate}" target="EditDataSourceType" style="buttontext create"> + <parameter param-name="DONE_PAGE" from-field="donePage"/> + </link> + </container> <screenlet title="${uiLabelMap.PageTitleListDataSourceType}"> - <container style="button-bar"> - <link text="${uiLabelMap.DataSourceTypeCreate}" target="EditDataSourceType" style="buttontext create"> - <parameter param-name="DONE_PAGE" from-field="donePage"/> - </link> - </container> <include-form name="ListDataSourceType" location="component://marketing/widget/DataSourceForms.xml"/> </screenlet> </decorator-section> |
Free forum by Nabble | Edit this page |