From ff78c07e1f67aa68a83fda94fd4e9fa52e475952 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 22 Jul 2021 18:35:13 +0000 Subject: [PATCH] Bug 28733: Correct position of desks link in admin menu This patch moves the "Desks" link from the "Basic parameters" section to the "Patrons and circulation" section, matching the category of the link on the Administration home page. To test, apply the patch and go to an administration page which includes the left-hand navigation sidebar, e.g. Administration -> Libraries. In the sidebar, the "Desks" link should be in the "Patrons and circulation" section, under "Item circulation alterts," matching its position on the Administration home page. Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer Bug 28733: (follow-up) Add manage_libraries permission check Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 30ccfb1882a66bc86decad142ecc9e45219dfa04) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 44d1f4cc0e..771216c3a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -16,9 +16,6 @@ [% IF ( CAN_user_parameters_manage_libraries ) %]
  • Libraries
  • Library groups
  • - [% IF ( Koha.Preference('UseCirculationDesks') ) %] -
  • Desks
  • - [% END %] [% END %] [% IF ( CAN_user_parameters_manage_itemtypes ) %]
  • Item types
  • @@ -48,6 +45,9 @@ [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
  • Item circulation alerts
  • [% END %] + [% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %] +
  • Desks
  • + [% END %] [% IF ( CAN_user_parameters_manage_cities ) %]
  • Cities and towns
  • [% END %] -- 2.39.5