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 <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Bug 28733: (follow-up) Add manage_libraries permission check

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2021-07-22 18:35:13 +00:00 committed by Kyle M Hall
parent 2b800a467f
commit 30ccfb1882

View file

@ -16,9 +16,6 @@
[% IF ( CAN_user_parameters_manage_libraries ) %]
<li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
<li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
[% IF ( Koha.Preference('UseCirculationDesks') ) %]
<li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
[% END %]
[% END %]
[% IF ( CAN_user_parameters_manage_itemtypes ) %]
<li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
@ -48,6 +45,9 @@
[% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
<li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
[% END %]
[% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
<li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
[% END %]
[% IF ( CAN_user_parameters_manage_cities ) %]
<li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
[% END %]