]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Aug 2020 14:54:40 +0000 (16:54 +0200)
commit27ff36825dd6ac8f87dc7d380c60f21e8170dea6
tree98e01a2a0c3b754d873a3bef2f958af3e47cf16a
parente7661a37e657141b994d74398dd8e1b96d1da117
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>
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc