From 0a40f71075c7dff1d9a99ab66b4210849c506648 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 6 Aug 2020 18:19:58 +0000 Subject: [PATCH] Bug 25606: (QA follow-up) Don't show remove all button if no reserves Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- .../prog/en/modules/course_reserves/course-details.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index 9173d9bc00..7e9855fa24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -36,7 +36,7 @@ Add reserves Batch add reserves [% END %] - [% IF CAN_user_coursereserves_delete_reserves %] + [% IF CAN_user_coursereserves_delete_reserves && course_reserves %] Remove all reserves [% END %] [% IF ( CAN_user_coursereserves_manage_courses ) %] -- 2.39.5