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 <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8a067f145b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit f38943c7f5)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2020-12-18 16:23:54 +01:00 committed by Andrew Fuerste-Henry
parent 4baa5bb3df
commit 59b58965ad
1 changed files with 9 additions and 0 deletions

View File

@ -198,6 +198,15 @@
[% END %]
</td>
<td>[% issuelength | html %]</td>
<td>
[% SWITCH daysmode %]
[% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Skip closed days</span>
[% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Next open day</span>
[% CASE 'Days' %]<span title="Ignore the calendar">Ignore the calendar</span>
[% CASE 'Dayweek' %]<span title="Use the calendar to push the due date to the next open matching weekday for weekly loan periods, or the next open day otherwise">Same week day</span>
[% CASE %]<span title="Use the system preference 'useDaysMode' as a default value">Default</span>
[% END %]
</td>
<td>
[% IF ( lengthunit == 'days' ) %]
Days