From af0ed924f9912bfbdff8854a8c8f783ed1e1567d 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 Signed-off-by: matthias le gac --- .../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 a3fe672d36..6ea727f75c 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.34.1