@@ -, +, @@ - The plugins link should be bold in the sidebar menu. - Choosing "Uninstall" for an installed plugin should trigger a confirmation alert. --- .../prog/en/modules/plugins/plugins-home.tt | 24 +++++++++++++--------- koha-tmpl/intranet-tmpl/prog/js/tools-menu.js | 2 ++ 2 files changed, 16 insertions(+), 10 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt @@ -1,17 +1,8 @@ [% USE KohaDates %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Plugins [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'calendar.inc' %] - @@ -142,5 +133,18 @@ +[% MACRO jsinclude BLOCK %] + + [% INCLUDE 'calendar.inc' %] + +[% END %] [% INCLUDE 'intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/js/tools-menu.js +++ a/koha-tmpl/intranet-tmpl/prog/js/tools-menu.js @@ -8,6 +8,8 @@ $('#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("plugins") >= 0 ) { + $('#navmenulist a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]').css('font-weight','bold'); } else { $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold'); } --