From e0991ae2358224a15b6880c96b8472a3cd814b1b 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 --- .../opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 6 ++++-- 1 files 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 b26fbaf..30bbd9b 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 ) %] -- 1.7.2.5