From f1098e64b73e47b90c734e4a5b2c4742de03394f Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Mon, 6 Nov 2023 22:12:41 +0000 Subject: [PATCH] Bug 21173: (follow-up) Re-ordering input fields in item modification by age form Sponsored-by: Toi Ohomai Institute of Technology, New Zealand --- .../automatic_item_modification_by_age.tt | 59 +++++++++---------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt index 54b0b2e1214..fcbfb9f4b25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt @@ -91,23 +91,6 @@ Rule [% loop.count | html %] Remove this rule
-
Age
- -
Age unit
-
- - Only the items.damaged_on, items.itemlost_on and items.withdrawn_on age fields can use the 'Hours unit. If not set then days will be used. -
-
Age field
If not set then items.dateaccessioned will be used
-
+ +
Age unit
+
+ + Only the items.damaged_on, items.itemlost_on and items.withdrawn_on age fields can use the 'Hours unit. If not set then days will be used. +
+
Age
+
Conditions
[% FOR condition IN rule.conditions %] @@ -181,18 +180,6 @@ Rule Remove this rule
-
Age
- -
Age unit
-
- - Only items.damaged_on, items.itemlost_on and items.withdrawn_on age fields can use the 'Hours' unit. If not set then days will be used. -
Age field
+ + [% FOR unit IN ageunits %] + + [% END %] + + Only items.damaged_on, items.itemlost_on and items.withdrawn_on age fields can use the 'Hours' unit. If not set then days will be used. +
+
Age
+
Conditions
-- 2.20.1