You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2019/09/29 08:03:56 UTC

svn commit: r1867699 - in /ofbiz/ofbiz-framework/trunk/applications/content/widget: CommonScreens.xml compdoc/CompDocScreens.xml

Author: jleroux
Date: Sun Sep 29 08:03:56 2019
New Revision: 1867699

URL: http://svn.apache.org/viewvc?rev=1867699&view=rev
Log:
Improved: Make Create Menu tab bar for CompDoc consistent
(OFBIZ-8188)

Adds a create CompDoc tab bar in the main decorator to maintain the consistency 
throughout the tab bar of CompDoc.

Thanks: Avnindra Sharma

Modified:
    ofbiz/ofbiz-framework/trunk/applications/content/widget/CommonScreens.xml
    ofbiz/ofbiz-framework/trunk/applications/content/widget/compdoc/CompDocScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/content/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/widget/CommonScreens.xml?rev=1867699&r1=1867698&r2=1867699&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/CommonScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/CommonScreens.xml Sun Sep 29 08:03:56 2019
@@ -229,6 +229,10 @@ under the License.
                     </decorator-section>
                     <decorator-section name="body">
                         <label text="${title}" style="h1"/>
+                        <container style="button-bar">
+                            <link target="AddRootCompDocTemplate" text="${uiLabelMap.PageTitleCreateNewRootCompDocTemplate}" style="buttontext create"/>
+                            <link target="ListWaitingContentApproval" text="${uiLabelMap.ContentCompDocViewWaitingApprovals}" style="buttontext"/>
+                        </container>
                         <decorator-section-include name="body"/>
                     </decorator-section>
                 </decorator-screen>

Modified: ofbiz/ofbiz-framework/trunk/applications/content/widget/compdoc/CompDocScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/widget/compdoc/CompDocScreens.xml?rev=1867699&r1=1867698&r2=1867699&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/compdoc/CompDocScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/compdoc/CompDocScreens.xml Sun Sep 29 08:03:56 2019
@@ -295,12 +295,6 @@ under the License.
                         <section>
                             <widgets>
                                 <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
-                                    <decorator-section name="menu-bar">
-                                        <container style="button-bar">
-                                            <link target="AddRootCompDocTemplate" text="${uiLabelMap.PageTitleCreateNewRootCompDocTemplate}" style="buttontext create"/>
-                                            <link target="ListWaitingContentApproval" text="${uiLabelMap.ContentCompDocViewWaitingApprovals}" style="buttontext"/>
-                                        </container>
-                                    </decorator-section>
                                     <decorator-section name="search-options">
                                         <include-form name="FindCompDoc" location="component://content/widget/compdoc/CompDocForms.xml"/>
                                     </decorator-section>