From 95ae97bb053d6c5389e4d26ea2c7e7a4bba23065 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 22 Jan 2018 17:32:19 +0100 Subject: [PATCH] Bug 18818: (followup) 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 - - + +
  • @@ -288,7 +293,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' ) %] @@ -361,7 +366,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 %] @@ -470,8 +475,10 @@ [% END %] - [% IF category.quick_add_display %] Display - [% ELSE %] Don't Display + [% IF category.quick_add_display %] + Yes + [% ELSE %] + No [% END %] -- 2.7.4