Bugzilla – Attachment 107433 Details for
Bug 25919
Desks link is available in left side menu even if UseCirculationDesks is disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25919: Only show Desks in admin navigation when UseCirculationDesks is used
Bug-25919-Only-show-Desks-in-admin-navigation-when.patch (text/plain), 1.79 KB, created by
ByWater Sandboxes
on 2020-07-27 14:53:03 UTC
(
hide
)
Description:
Bug 25919: Only show Desks in admin navigation when UseCirculationDesks is used
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-07-27 14:53:03 UTC
Size:
1.79 KB
patch
obsolete
>From 07219eb8d788f3a0d838897c3ab9369cdfe6b410 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sat, 18 Jul 2020 10:24:23 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >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 13b685dafc..8f95f3ee05 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc >@@ -16,7 +16,9 @@ > [% 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> >- <li><a href="/cgi-bin/koha/admin/desks.pl">Desks</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> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25919
:
107057
|
107433
|
107937