From 2b7ba1cbc1d3f0b68888bd2da8e4ba0566746b45 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 11 Aug 2021 01:04:49 +0200 Subject: [PATCH] Bug 28727: (QA follow-up) Simplify permission check There was another permission check for edit_items directly below, so instead of changing them to both be edit_items, I think we can now remove one. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 5602a405cc650f9390ad3ce643abf1c6880b1cc8) Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/catalogue/moredetail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt index 828a3e6bb9..5c56dddff1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt @@ -72,11 +72,11 @@

Barcode [% ITEM_DAT.barcode | html %] [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext | html %] [% END %]

-

Item information [% IF ( CAN_user_editcatalogue_edit_items ) %][% UNLESS ( ITEM_DAT.nomod ) %] +

Item information [% UNLESS ( ITEM_DAT.nomod ) %] [% IF ( CAN_user_editcatalogue_edit_items ) %] Edit item [% END %] - [% END %][% END %]

+ [% END %]
  1. Home library: [% Branches.GetName( ITEM_DAT.homebranch ) | html %] 
  2. -- 2.39.5