From acf3c4c7b0f25e473dcd4ecbcbc14aa26b12f682 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 --- 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.17.1