From 012de8ccdf0365601003a6ff10479782423f6c05 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 20 Nov 2015 11:29:44 +1300 Subject: [PATCH] Bug 15213 - Fix tools sidebar to highlight Patron lists when in that module MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: Add some patron lists, navigate through the lists interface and make sure that while you are in the module, that Patron lists is highlighted on the sidebar. Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Amended patch: fix alignement Signed-off-by: Kyle M Hall (cherry picked from commit 0427dfe8ee65e87e9442af16d4069afdfcde2801) Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index 12057cc3e9..63c318e3de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -10,6 +10,8 @@ $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold'); } else if (path.indexOf("patroncards") >= 0 ) { $('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').css('font-weight','bold'); + } else if (path.indexOf("patron_lists") >= 0 ) { + $('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold'); } else { $('#navmenulist a[href$="/' + path + params + '"]').css('font-weight','bold'); } -- 2.39.5