View | Details | Raw Unified | Return to bug 19710
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-10 / +14 lines)
Lines 1-17 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Plugins </title>
4
<title>Koha &rsaquo; Tools &rsaquo; Plugins </title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'calendar.inc' %]
6
<script type="text/javascript">
7
    $(document).ready(function(){
8
        $(".uninstall_plugin").on("click", function(){
9
            $(".dropdown").removeClass("open");
10
            var plugin_name = $(this).data("plugin-name");
11
            return confirmDelete( _("Are you sure you want to uninstall the plugin %s?").format( plugin_name ) );
12
        });
13
    });
14
</script>
15
</head>
6
</head>
16
7
17
<body id="plugins_plugins_home" class="plugins">
8
<body id="plugins_plugins_home" class="plugins">
Lines 142-146 Link Here
142
    </div>
133
    </div>
143
</div>
134
</div>
144
135
136
[% MACRO jsinclude BLOCK %]
137
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu.js"></script>
138
    [% INCLUDE 'calendar.inc' %]
139
    <script type="text/javascript">
140
        $(document).ready(function(){
141
            $(".uninstall_plugin").on("click", function(){
142
                $(".dropdown").removeClass("open");
143
                var plugin_name = $(this).data("plugin-name");
144
                return confirmDelete( _("Are you sure you want to uninstall the plugin %s?").format( plugin_name ) );
145
            });
146
        });
147
    </script>
148
[% END %]
145
149
146
[% INCLUDE 'intranet-bottom.inc' %]
150
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/tools-menu.js (-1 / +2 lines)
Lines 8-13 Link Here
8
        $('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold');
8
        $('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold');
9
      } else if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) {
9
      } else if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) {
10
        $('#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').css('font-weight','bold');
10
        $('#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').css('font-weight','bold');
11
      } else if (path.indexOf("plugins") >= 0 ) {
12
          $('#navmenulist a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]').css('font-weight','bold');
11
      } else {
13
      } else {
12
        $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
14
        $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
13
      }
15
      }
14
- 

Return to bug 19710