From 05018c3dc727c1e396d94c0ca223e37466d9e129 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 26 Jun 2019 12:43:36 +0000 Subject: [PATCH] Bug 22951: Markup error in OPAC holds template This patch makes minor markup changes to the OPAC holds template in order to fix validation errors. To test, apply the patch and go through the process of placing a hold in the OPAC. Test various aspects of the process, including cases where the hold is blocked and an error message is displayed (for instance, when there are no items to be placed on hold). The page should work correctly and validating the source should return no relevant errors. Signed-off-by: Mark Tompsett Signed-off-by: Frederik Chenier Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit e0991ae2358224a15b6880c96b8472a3cd814b1b) Signed-off-by: Fridolin Somers (cherry picked from commit f48f1a981c13738c104ae91fce944ad557700599) Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index b26fbaf99d..30bbd9b882 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -117,14 +117,16 @@ None of the libraries are available for pickup location. [% END %] - [% ELSE %] + + + [% ELSE # /IF message %] [% IF ( none_available && multi_hold ) %]
Sorry, none of these titles can be placed on hold.
[% END %] - + [% END # / IF message %] [% UNLESS ( message ) %] -- 2.39.5