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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867703 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2019-09-29 08:18:22 +00:00
parent 0246d5100e
commit f91ec0ec90
@@ -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>