From 9455ff0c787b6ff9bbeacd2ba58500584656d756 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Dec 2020 14:21:27 +0000 Subject: [PATCH] Bug 26905: Purchase suggestion button hidden for users with suggestion permission but not acq permission This patch adds a link to purchase suggestions from the header menu's "More" submenu for users with suggestions management permission. To test, apply the patch and log in to the staff interface as a user with "suggestions_manage" permission. - Click the "More" menu item in the header. You should see a link to "Suggestions" which takes you to the suggestions management page. - Log in as a user without "suggestions_manage" permission. The link should not appear. Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart (cherry picked from commit 30acf1a9884b98b5e7e965fc057aa632cd781f8f) Signed-off-by: Fridolin Somers (cherry picked from commit 3b8144a1aa19ff3ba92eea26492b192b17807e3f) Signed-off-by: Andrew Fuerste-Henry --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index ef6cf61c70..4c95c4c3c5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -50,6 +50,9 @@ [% IF ( CAN_user_reports ) %]
  • Reports
  • [% END %] + [% IF ( CAN_user_suggestions_suggestions_manage ) %] +
  • Suggestions
  • + [% END %] [% IF ( CAN_user_tools ) %]
  • Tools
  • [% END %] -- 2.39.5