From 48b4b1376f67e01f8d4d07243968ba3c038b88cb Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 24 Jan 2019 13:48:42 +0000 Subject: [PATCH] Bug 22197: Add Mana KB link to administration sidebar menu This patch adds a link to the Mana KB configuration page to the administration sidebar menu. To test, apply the patch and: - Log in to the staff client as a user who lacks permission to manage Mana KB. - Go to an Administration page which shows the sidebar, like Libraries or Patron categories. There should be no link to Mana KB in the left-hand sidebar. - Log in to the staff client as a user who has permission to manage Mana KB. - Go to Administration -> Mana KB - In the sidebar menu you should see a link to Mana KB and it should be bold. - Navigate to another Administration page which shows the sidebar. The Mana KB link should not be highlighted. Signed-off-by: Maryse Simard --- koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 3 +++ 1 file changed, 3 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 c6c285b..817b5a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -132,6 +132,9 @@ [% IF ( CAN_user_parameters_manage_usage_stats ) %]
  • Share usage statistics
  • [% END %] + [% IF ( CAN_user_parameters_manage_mana ) %] +
  • Share content with Mana KB
  • + [% END %] [% END %] -- 2.7.4