svn commit: r1867703 - /ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml

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

svn commit: r1867703 - /ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml

jleroux@apache.org
Author: jleroux
Date: Sun Sep 29 08:18:22 2019
New Revision: 1867703

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

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

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

Modified:
    ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml?rev=1867703&r1=1867702&r2=1867703&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplLeaveScreens.xml Sun Sep 29 08:18:22 2019
@@ -94,6 +94,15 @@
                             </condition>
                             <widgets>
                                 <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="menu-bar">
+                                        <section>
+                                            <widgets>
+                                                <container style="button-bar">
+                                                    <link target="EditEmplLeave" text="${uiLabelMap.HumanResNewLeave}" style="buttontext create"/>
+                                                </container>
+                                            </widgets>
+                                        </section>
+                                    </decorator-section>
                                     <decorator-section name="search-options">
                                         <include-form name="FindLeaveApprovals" location="component://humanres/widget/forms/EmplLeaveForms.xml"/>
                                     </decorator-section>