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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-2 / +3 lines)
Lines 165-171 function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { Link Here
165
        dt_parameters[ "buttons" ].push(
165
        dt_parameters[ "buttons" ].push(
166
            {
166
            {
167
                className: "dt_button_configure_table",
167
                className: "dt_button_configure_table",
168
                titleAttr: _("Table settings"),
168
                fade: 100,
169
                titleAttr: _("Configure table"),
169
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + _("Configure") + '</span>',
170
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + _("Configure") + '</span>',
170
                action: function() {
171
                action: function() {
171
                    window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table'];
172
                    window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table'];
Lines 228-234 function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { Link Here
228
        deactivate_filters(id_selector);
229
        deactivate_filters(id_selector);
229
    }
230
    }
230
231
231
    $(".dt_button_clear_filter, .columns_controls, .export_controls").tooltip();
232
    $(".dt_button_clear_filter, .columns_controls, .export_controls, .dt_button_configure_table").tooltip();
232
233
233
    return table;
234
    return table;
234
}
235
}
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-3 / +3 lines)
Lines 823-829 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
823
            settings[ "buttons" ].push(
823
            settings[ "buttons" ].push(
824
                {
824
                {
825
                    className: "dt_button_configure_table",
825
                    className: "dt_button_configure_table",
826
                    titleAttr: __("Table settings"),
826
                    fade: 100,
827
                    titleAttr: __("Configure table"),
827
                    text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure") + '</span>',
828
                    text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure") + '</span>',
828
                    action: function() {
829
                    action: function() {
829
                        window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table'];
830
                        window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table'];
Lines 832-838 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
832
            );
833
            );
833
        }
834
        }
834
835
835
        $(".dt_button_clear_filter, .columns_controls, .export_controls").tooltip();
836
        $(".dt_button_clear_filter, .columns_controls, .export_controls, .dt_button_configure_table").tooltip();
836
837
837
        if ( add_filters ) {
838
        if ( add_filters ) {
838
            settings['orderCellsTop'] = true;
839
            settings['orderCellsTop'] = true;
839
- 

Return to bug 31962