svn commit: r1867706 - /ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1867706 - /ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml

jleroux@apache.org
Author: jleroux
Date: Sun Sep 29 08:31:34 2019
New Revision: 1867706

URL: http://svn.apache.org/viewvc?rev=1867706&view=rev
Log:
Improved: Make Create Menu tab bar for Marketing Campaign consistent
(OFBIZ-8197)

Add a create Marketing Campaign tab bar in the main decorator to maintain the
consistency throughout the tab bar of Marketing Campaign.

Thanks: Avnindra Sharma for the report and patch, Devanshu Vyas for testing

Modified:
    ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml?rev=1867706&r1=1867705&r2=1867706&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/marketing/widget/MarketingCampaignScreens.xml Sun Sep 29 08:31:34 2019
@@ -52,6 +52,11 @@ under the License.
                                 <if-has-permission permission="MARKETING" action="_VIEW"/>
                             </condition>
                             <widgets>
+                                <container style="button-bar">
+                                    <link text="${uiLabelMap.MarketingCampaignCreate}" target="EditMarketingCampaign" style="buttontext create">
+                                        <parameter param-name="DONE_PAGE" from-field="donePage" />
+                                    </link>
+                                </container>
                                 <decorator-section-include name="body"/>
                             </widgets>
                             <fail-widgets>
@@ -85,13 +90,6 @@ under the License.
                             <condition>
                                 <not><if-empty field="marketingCampaign" /></not>
                             </condition>
-                            <widgets>
-                                <container style="button-bar button-style-1">
-                                    <link text="${uiLabelMap.MarketingCampaignCreate}" target="EditMarketingCampaign" style="create">
-                                        <parameter param-name="DONE_PAGE" from-field="donePage" />
-                                    </link>
-                                </container>
-                            </widgets>
                         </section>
                         <screenlet>
                             <include-form name="EditMarketingCampaign" location="component://marketing/widget/MarketingCampaignForms.xml" />
@@ -117,11 +115,6 @@ under the License.
                         <container style="page-title">
                             <label text="${uiLabelMap[titleProperty]}" />
                         </container>
-                        <container style="button-bar">
-                            <link text="${uiLabelMap.MarketingCampaignCreate}" target="EditMarketingCampaign" style="buttontext create">
-                                <parameter param-name="DONE_PAGE" from-field="donePage" />
-                            </link>
-                        </container>
                         <screenlet>
                             <include-form name="ListMarketingCampaign" location="component://marketing/widget/MarketingCampaignForms.xml" />
                         </screenlet>