From e448b80e60c31275fdc5ce46098e30cf8d0377e1 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 afc17935ee..f2a9886bba 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 @@ -295,18 +295,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