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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-1 / +3 lines)
Lines 164-170 function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { Link Here
164
    if ( CAN_user_parameters_manage_column_config ) {
164
    if ( CAN_user_parameters_manage_column_config ) {
165
        dt_parameters[ "buttons" ].push(
165
        dt_parameters[ "buttons" ].push(
166
            {
166
            {
167
                text: 'Configure this table',
167
                className: "dt_button_configure_table",
168
                titleAttr: __("Configure this table"),                   
169
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + _("Configure this table") + '</span>',
168
                action: function() {
170
                action: function() {
169
                    window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '#' + table_settings['page'] + '#' + table_settings['table'];
171
                    window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '#' + table_settings['page'] + '#' + table_settings['table'];
170
                },
172
                },
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +3 lines)
Lines 816-822 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
816
        if ( CAN_user_parameters_manage_column_config ) {
816
        if ( CAN_user_parameters_manage_column_config ) {
817
            settings[ "buttons" ].push(
817
            settings[ "buttons" ].push(
818
                {
818
                {
819
                    text: 'Configure this table',
819
                    className: "dt_button_configure_table",
820
                    titleAttr: __("Configure this table"),                   
821
                    text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure this table") + '</span>',
820
                    action: function() {
822
                    action: function() {
821
                        window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '#' + table_settings['page'] + '#' + table_settings['table'];
823
                        window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '#' + table_settings['page'] + '#' + table_settings['table'];
822
                    },
824
                    },
823
- 

Return to bug 29723