From 09879e4abb0c6ceab66e30dcbfe5957e748b72c5 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 22 Dec 2015 15:37:41 +0000 Subject: [PATCH] Bug 15409 - Plugins section missing from Admin menu sidebar The sidebar menu in the Admin area of Koha is missing a section for Plugins. Test Plan: 1) Apply this patch 2) Log in with a user that has plugin permissions 3) Browse to a page with the admin menu sidebar, such as /cgi-bin/koha/admin/transport-cost-matrix.pl 4) Note the new Plugins section with a link to manage plugins 5) Log in with a user that has no plugin permissions 6) Revisit the same page, note the Plugins section is no longer visible Signed-off-by: Aleisha --- koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc index e38b0b4..9938d1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -57,6 +57,14 @@ +[% IF CAN_user_plugins %] +
Plugins
+ + +[% END %] +
Additional parameters