From 3e5cd0b46e75d4f0f360b5a92d1687ed00b6cdb3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 28 Jan 2022 13:05:55 +0100 Subject: [PATCH] Bug 29058: Don't display 'Show holds' button if holds are displayed Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 8a4f79e8755..9a46b4ac71c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -910,7 +910,9 @@ [% IF always_show_holds == 'DONT' %] - Show holds ([% hold_count | html %]) + [% UNLESS reserveloop %] + Show holds ([% hold_count | html %]) + [% END %] [% ELSE %] [% END %] -- 2.25.1