From 59b58965ad66ea831a91d425dcaceaca70a25a11 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 18 Dec 2020 16:23:54 +0100 Subject: [PATCH] Bug 27280: (bug 27026 follow-up) Make consistent the explanation for "Days mode" We have "Skip closed days" in the dropdown, but "Calendar" on the table. Both must match Test plan: Go to the circ rules, select a value for "Days mode", save the rule, confirm that the dropdown list values are matching the ones we displayed in the cells Signed-off-by: Caroline Cyr La Rose Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 8a067f145b85870328fbcd10b2e510cb7006b749) Signed-off-by: Fridolin Somers (cherry picked from commit f38943c7f5ecb2b1dfa2bd092707c3cf75343b07) Signed-off-by: Andrew Fuerste-Henry --- .../intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 04b44c60ab..b9de742bfd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -198,6 +198,15 @@ [% END %] [% issuelength | html %] + + [% SWITCH daysmode %] + [% CASE 'Calendar' %]Skip closed days + [% CASE 'Datedue' %]Next open day + [% CASE 'Days' %]Ignore the calendar + [% CASE 'Dayweek' %]Same week day + [% CASE %]Default + [% END %] + [% IF ( lengthunit == 'days' ) %] Days -- 2.39.5