From c8ad1e6928ed424ae127bfac870d00fae7ea180a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 13 Feb 2014 09:21:28 -0500 Subject: [PATCH] Bug 11746 [QA Followup] display edit item link only if user has permission to edit items Signed-off-by: Havilah Lyon Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 1a3ce6a354..1e1fcd26b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -540,7 +540,7 @@ function verify_images() { [% IF ( hostrecords ) %]Host records[% END %] [% IF ( analyze ) %]Used in[% END %] [% IF ( ShowCourseReserves ) %]Course Reserves[% END %] - Edit + [% IF ( CAN_user_editcatalogue_edit_items ) %]Edit[% END %] @@ -714,7 +714,9 @@ function verify_images() { [% END %] [% END %] - Edit + [% IF ( CAN_user_editcatalogue_edit_items ) %] + Edit + [% END %] [% END %] -- 2.39.5