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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-13 / +20 lines)
Lines 114-131 Link Here
114
                        [% END %]
114
                        [% END %]
115
                    [% ELSE %]
115
                    [% ELSE %]
116
                        <table id="installed_plugins">
116
                        <table id="installed_plugins">
117
                            <tr>
117
                            <thead>
118
                                <th>Name</th>
118
                                <tr>
119
                                <th>Description</th>
119
                                    <th>Name</th>
120
                                <th>Author</th>
120
                                    <th>Description</th>
121
                                <th>Plugin version</th>
121
                                    <th>Author</th>
122
                                <th>Minimum Koha version</th>
122
                                    <th>Plugin version</th>
123
                                <th>Maximum Koha version</th>
123
                                    <th>Minimum Koha version</th>
124
                                <th>Last updated</th>
124
                                    <th>Maximum Koha version</th>
125
                                [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
125
                                    <th>Last updated</th>
126
                                    <th class="noExport">Actions</th>
126
                                    [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
127
                                [% END %]
127
                                        <th class="noExport">Actions</th>
128
                            </tr>
128
                                    [% END %]
129
                                </tr>
130
                            </thead>
129
131
130
                            [% FOREACH plugin IN plugins %]
132
                            [% FOREACH plugin IN plugins %]
131
                                [% IF plugin.error %]
133
                                [% IF plugin.error %]
Lines 226-231 Link Here
226
[% MACRO jsinclude BLOCK %]
228
[% MACRO jsinclude BLOCK %]
227
    [% Asset.js("js/tools-menu.js") | $raw %]
229
    [% Asset.js("js/tools-menu.js") | $raw %]
228
    [% INCLUDE 'calendar.inc' %]
230
    [% INCLUDE 'calendar.inc' %]
231
    [% INCLUDE 'datatables.inc' %]
232
    [% INCLUDE 'columns_settings.inc' %]
229
    <script>
233
    <script>
230
        $(document).ready(function(){
234
        $(document).ready(function(){
231
            $(".uninstall_plugin").on("click", function(){
235
            $(".uninstall_plugin").on("click", function(){
Lines 237-242 Link Here
237
            $("#plugin-search-button").on("click", function(){
241
            $("#plugin-search-button").on("click", function(){
238
                $("#plugin-search-form").submit();
242
                $("#plugin-search-form").submit();
239
            });
243
            });
244
245
            KohaTable("installed_plugins", {
246
                "bPaginate": false
247
            });
240
        });
248
        });
241
    </script>
249
    </script>
242
[% END %]
250
[% END %]
243
- 

Return to bug 31603