Author: jleroux
Date: Sun Sep 29 07:43:16 2019 New Revision: 1867695 URL: http://svn.apache.org/viewvc?rev=1867695&view=rev Log: Improved: Make Create Menu tab bar for Employee Position consistent (OFBIZ-8190) Adds a create Employee Position tab bar in the main decorator to maintain the consistency throughout the tab bar of Employee Position. Thanks: Avnindra Sharma for the report and patch, Devanshu Vyas for testing Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/widget/CommonScreens.xml ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplPositionScreens.xml Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/widget/CommonScreens.xml?rev=1867695&r1=1867694&r2=1867695&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/humanres/widget/CommonScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/humanres/widget/CommonScreens.xml Sun Sep 29 07:43:16 2019 @@ -129,6 +129,9 @@ under the License. <if-has-permission permission="HUMANRES" action="_VIEW"/> </condition> <widgets> + <container style="button-bar"> + <link target="EditEmplPosition" text="${uiLabelMap.HumanResNewEmplPosition}" style="buttontext create"/> + </container> <decorator-section-include name="body"/> </widgets> <fail-widgets> Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplPositionScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplPositionScreens.xml?rev=1867695&r1=1867694&r2=1867695&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplPositionScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/humanres/widget/EmplPositionScreens.xml Sun Sep 29 07:43:16 2019 @@ -30,15 +30,6 @@ <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> - <decorator-section name="menu-bar"> - <section> - <widgets> - <container style="button-bar"> - <link target="EditEmplPosition" text="${uiLabelMap.HumanResNewEmplPosition}" style="buttontext create"/> - </container> - </widgets> - </section> - </decorator-section> <decorator-section name="search-options"> <include-form name="FindEmplPositions" location="component://humanres/widget/forms/EmplPositionForms.xml"/> </decorator-section> |
Free forum by Nabble | Edit this page |