From 13dea6702b0290d07e4a19f5452d432261bb4163 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Fri, 29 Apr 2022 07:40:31 -0400 Subject: [PATCH] Bug 20256: (QA follow-up) Allow removal of course reserves for items that cannot be edited --- .../en/modules/course_reserves/course-details.tt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 3e78abd432..76cf844e81 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 @@ -276,18 +276,18 @@ [% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] - [% IF user.can_edit_item( cr.item ) %] - + + [% IF user.can_edit_item( cr.item ) %] [% IF CAN_user_coursereserves_add_reserves %] Edit [% END %] + [% END %] - [% IF CAN_user_coursereserves_delete_reserves %] - - Remove - [% END %] - - [% END %] + [% IF CAN_user_coursereserves_delete_reserves %] + + Remove + [% END %] + [% END %] -- 2.30.2