This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b059bc2769 Improved: HUMANRES-PersonTrainingScreens (OFBIZ-13038) 
(#776)
b059bc2769 is described below

commit b059bc2769b8f87f9433d3a33c19eda45b9eebf4
Author: Pierre Smits <pierre.sm...@somonar.com>
AuthorDate: Thu Apr 18 16:17:19 2024 +0200

    Improved: HUMANRES-PersonTrainingScreens (OFBIZ-13038) (#776)
    
    modified:
    PersonTrainingScreens.xml. changed menu location from hard-coded to 
parameterized
---
 applications/humanres/widget/PersonTrainingScreens.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/applications/humanres/widget/PersonTrainingScreens.xml 
b/applications/humanres/widget/PersonTrainingScreens.xml
index a5e6a8bc39..9df8cfaf53 100644
--- a/applications/humanres/widget/PersonTrainingScreens.xml
+++ b/applications/humanres/widget/PersonTrainingScreens.xml
@@ -38,7 +38,7 @@
                     </actions>
                     <widgets>
                         <screenlet title="${uiLabelMap.WorkEffortDayView}: 
${groovy:org.apache.ofbiz.base.util.UtilDateTime.timeStampToString(start, 
&quot;EEEE MMMM d, yyyy&quot;, timeZone, locale)}" navigation-menu-name="Day">
-                            <include-menu name="Day" 
location="component://workeffort/widget/WorkEffortMenus.xml"/>
+                            <include-menu name="Day" 
location="${parameters.calendarMenuLocation}"/>
                             <include-screen name="trainingCalendarDetail"/>
                             <platform-specific>
                                 <html><html-template 
location="component://workeffort/template/calendar/Day.ftl"/></html>
@@ -58,7 +58,7 @@
                     </actions>
                     <widgets>
                         <screenlet title="${uiLabelMap.WorkEffortWeekView}: 
${uiLabelMap.CommonWeek} 
${groovy:org.apache.ofbiz.base.util.UtilDateTime.timeStampToString(start, 
&quot;w&quot;, timeZone, locale)}" navigation-menu-name="Week">
-                            <include-menu name="Week" 
location="component://workeffort/widget/WorkEffortMenus.xml"/>
+                            <include-menu name="Week" 
location="${parameters.calendarMenuLocation}"/>
                             <include-screen name="trainingCalendarDetail"/>
                             <platform-specific>
                                 <html><html-template 
location="component://workeffort/template/calendar/Week.ftl"/></html>
@@ -75,7 +75,7 @@
                     </actions>
                     <widgets>
                         <screenlet title="${uiLabelMap.WorkEffortMonthView}: 
${groovy:org.apache.ofbiz.base.util.UtilDateTime.timeStampToString(start, 
&quot;MMMM yyyy&quot;, timeZone, locale)}" navigation-menu-name="Month">
-                            <include-menu name="Month" 
location="component://workeffort/widget/WorkEffortMenus.xml"/>
+                            <include-menu name="Month" 
location="${parameters.calendarMenuLocation}"/>
                             <include-screen name="trainingCalendarDetail"/>
                             <platform-specific>
                                 <html><html-template 
location="component://workeffort/template/calendar/Month.ftl"/></html>
@@ -92,7 +92,7 @@
                     </actions>
                     <widgets>
                         <screenlet 
title="${uiLabelMap.WorkEffortCalendarUpComingEventsView}" 
navigation-menu-name="Upcoming">
-                            <include-menu name="Upcoming" 
location="component://workeffort/widget/WorkEffortMenus.xml"/>
+                            <include-menu name="Upcoming" 
location="${parameters.calendarMenuLocation}"/>
                             <platform-specific>
                                 <html><html-template 
location="component://workeffort/template/calendar/Upcoming.ftl"/></html>
                             </platform-specific>

Reply via email to