From 775dd56a21fbd777f1f5a87c18587c7410824e6b Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 22 Jan 2018 17:32:19 +0100 Subject: [PATCH] Bug 18818: (follow-up) Correct template Main change is the use of Yes/No instead if Display/Don't display. It is more compact and more explicit. And fixes in categories.tt : - Template Toolkit markup inside HTML in - - + +
  • @@ -289,7 +294,7 @@ Receives overdue notices: [% IF category. overduenoticerequired %]Yes[% ELSE %]No[% END %] Lost items in staff client[% IF category.hidelostitems %]Hidden by default[% ELSE %]Shown[% END %] Hold fee: [% category.reservefee | $Price %] - Display in Quick Add Patron> + Display in quick add[% IF category.quick_add_display %]Yes[% ELSE %]No[% END %] [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] @@ -362,7 +367,7 @@ Messaging [% END %] Branches limitations - Display in Quick Add Patron + Display in quick add [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] Check previous checkout? [% END %] @@ -471,8 +476,10 @@ [% END %] - [% IF category.quick_add_display %] Display - [% ELSE %] Don't Display + [% IF category.quick_add_display %] + Yes + [% ELSE %] + No [% END %] -- 2.1.4