From 38230e4262df616dbe43a1bcdd3f6a6e8d1db991 Mon Sep 17 00:00:00 2001 From: Pierre Smits Date: Sun, 10 Jul 2022 14:47:35 +0200 Subject: [PATCH] Improved: WorkEffort - MainActionMenu (OFBIZ-12557) (#498) Currently the create buttons for the main objects of the work effort are located within the find and other widgets/templates of those objects. In order to improve the usability of OFBiz (and thus the appeal of it for adopters and users) these create buttons/links/etc. should be in a main action menu visible at all times when a user is working within the component. modified: WorkEffortMenus.xml - added MainActionMenu for users with CREATE permission in the component CommonScreens.xml - added MainActionMenu as an 'include-menu' ref in various common decorator screens. Added MainActionMenu as an 'include-menu' in screen definitions in various other Screen.xml files where appropriate additional cleaning. --- .../workeffort/widget/CommonScreens.xml | 10 ++++ .../workeffort/widget/CustRequestScreens.xml | 3 + .../workeffort/widget/TimesheetScreens.xml | 3 + .../workeffort/widget/WorkEffortMenus.xml | 17 +++++- .../workeffort/widget/WorkEffortScreens.xml | 57 +++++-------------- 5 files changed, 45 insertions(+), 45 deletions(-) diff --git a/applications/workeffort/widget/CommonScreens.xml b/applications/workeffort/widget/CommonScreens.xml index 10bcf2d5206..1d21c5acb3a 100644 --- a/applications/workeffort/widget/CommonScreens.xml +++ b/applications/workeffort/widget/CommonScreens.xml @@ -70,6 +70,7 @@ under the License. +
@@ -129,6 +130,9 @@ under the License. + + +
@@ -164,6 +168,9 @@ under the License. + + +
@@ -213,6 +220,9 @@ under the License. + + + diff --git a/applications/workeffort/widget/CustRequestScreens.xml b/applications/workeffort/widget/CustRequestScreens.xml index 8df138cdad7..2cfb34506e5 100644 --- a/applications/workeffort/widget/CustRequestScreens.xml +++ b/applications/workeffort/widget/CustRequestScreens.xml @@ -36,6 +36,9 @@ under the License. + + + diff --git a/applications/workeffort/widget/TimesheetScreens.xml b/applications/workeffort/widget/TimesheetScreens.xml index b06613b0f29..40e713beab0 100644 --- a/applications/workeffort/widget/TimesheetScreens.xml +++ b/applications/workeffort/widget/TimesheetScreens.xml @@ -43,6 +43,9 @@ under the License. + + + diff --git a/applications/workeffort/widget/WorkEffortMenus.xml b/applications/workeffort/widget/WorkEffortMenus.xml index ecde0309c85..7efb00a61cf 100644 --- a/applications/workeffort/widget/WorkEffortMenus.xml +++ b/applications/workeffort/widget/WorkEffortMenus.xml @@ -31,7 +31,22 @@ under the License. - + + + + + + + + + + + + + + + + diff --git a/applications/workeffort/widget/WorkEffortScreens.xml b/applications/workeffort/widget/WorkEffortScreens.xml index 851764ee955..1ff9ceef65f 100644 --- a/applications/workeffort/widget/WorkEffortScreens.xml +++ b/applications/workeffort/widget/WorkEffortScreens.xml @@ -35,6 +35,9 @@ under the License. + + +
@@ -60,7 +63,6 @@ under the License. - @@ -68,6 +70,9 @@ under the License. + + +
@@ -85,7 +90,6 @@ under the License.
-
@@ -143,7 +147,6 @@ under the License.
-
@@ -154,6 +157,9 @@ under the License. + + + @@ -161,7 +167,6 @@ under the License.
-
@@ -193,7 +198,6 @@ under the License.
-
@@ -217,7 +221,6 @@ under the License.
-
@@ -243,7 +246,6 @@ under the License.
-
@@ -290,7 +292,6 @@ under the License.
-
@@ -307,7 +308,6 @@ under the License.
-
@@ -325,14 +325,12 @@ under the License.
-
- @@ -344,7 +342,6 @@ under the License.
-
@@ -361,14 +358,12 @@ under the License.
-
- @@ -380,14 +375,12 @@ under the License.
-
- @@ -400,7 +393,6 @@ under the License.
-
@@ -417,14 +409,12 @@ under the License.
-
- @@ -437,14 +427,12 @@ under the License.
-
- @@ -456,14 +444,12 @@ under the License.
-
- @@ -475,7 +461,6 @@ under the License.
-
@@ -495,7 +480,6 @@ under the License.
-
@@ -511,7 +495,6 @@ under the License.
-
@@ -528,15 +511,11 @@ under the License.
-
- @@ -580,7 +559,6 @@ under the License.
-
@@ -598,7 +576,6 @@ under the License.
-
@@ -631,7 +608,6 @@ under the License.
-
@@ -648,7 +624,6 @@ under the License.
-
@@ -666,7 +641,6 @@ under the License.
-
@@ -692,7 +666,6 @@ under the License.
-
@@ -701,6 +674,7 @@ under the License. +
@@ -736,7 +710,6 @@ under the License.
-
@@ -745,6 +718,9 @@ under the License. + + +
@@ -769,7 +745,6 @@ under the License.
-
@@ -814,7 +789,6 @@ under the License.
-
@@ -838,7 +812,6 @@ under the License.
-
@@ -862,7 +835,6 @@ under the License.
-
@@ -886,7 +858,6 @@ under the License.
-
@@ -910,7 +881,6 @@ under the License.
-
@@ -939,5 +909,4 @@ under the License.
-