Bug 25919: Only show Desks in admin navigation when UseCirculationDesks is used
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 18 Jul 2020 10:24:23 +0000 (10:24 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Aug 2020 22:24:46 +0000 (22:24 +0000)
commit0db68fb36dd67e64ff74f3c770e62cb131ac159a
tree94f10f580998033980f3df8a9d9d290b8c6cf323
parent74354d414467e4cba61a1114bc777ad37174ae8b
Bug 25919: Only show Desks in admin navigation when UseCirculationDesks is used

We were missing a check for the UseCirculationDesks in the
template so the "Desks" link would only appear in the admin navigation
when the pref feature is activated.

To test:
- Turn off UseCirculationDesks
- Go to any administration page that shows the navigation on the left
- Verify Desks shows
- Apply patch
- Reload the admin page - Desks should be gone
- Turn on UseCirculationDesks
- Verify the Desks reappear

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 27ff36825dd6ac8f87dc7d380c60f21e8170dea6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc