From b1e2693ce529a7af2646ba770269cf32e991ff7d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Oct 2020 12:07:19 +0000 Subject: [PATCH] Bug 26763: Use standard information style for multi-hold message This patch modifies the markup of the message which is displayed when the patron tries to place a hold on a title they already have a hold on. Now the message is styled consistently with other similar messages. To test, apply the patch and follow the steps used to test Bug 19718: - In Administration -> Circulation and fine rules, set a rule to allow multiple holds on a title. - Log in to the OPAC as a user covered by the above rule and locate a bibliographic record on which multiple holds can be placed. - Place a hold on the record. - Return to the record details for that title and place another hold. - You should see a correctly-styled message about having at least one other hold on the record. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 4 ++-- 1 file changed, 2 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 e85d44e94b..ec4aaf5b03 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -166,7 +166,7 @@ [% FOREACH bibitemloo IN bibitemloop %]
[% IF bibitemloo.forced_hold_level %] -

+
[% IF bibitemloo.forced_hold_level == 'item' %] You already have at least one item level hold on this title. All further holds must be item level. @@ -174,7 +174,7 @@ You already have at least one record level hold on this title. All further holds must be record level. [% END %] -

+
[% END %]

[% IF ( bibitemloo.holdable ) %] -- 2.39.5