Josef Moravec
0d6dff2b39
Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
16 lines
998 B
JavaScript
16 lines
998 B
JavaScript
$(document).ready(function() {
|
|
var path = location.pathname.substring(1);
|
|
if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 ) {
|
|
$('#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 if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) {
|
|
$('#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').css('font-weight','bold');
|
|
} else if (path.indexOf("quotes-upload.pl") >= 0 ){
|
|
$('#navmenulist a[href$="/cgi-bin/koha/tools/quotes.pl"]').css('font-weight','bold');
|
|
} else {
|
|
$('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
|
|
}
|
|
});
|