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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss (-2 / +2 lines)
Lines 277-287 Link Here
277
        display: block;
277
        display: block;
278
    }
278
    }
279
279
280
    #finestable tfoot tr {
280
    table.finestable tfoot tr {
281
        display: flex !important;
281
        display: flex !important;
282
        width: max-content;
282
        width: max-content;
283
    }
283
    }
284
    #finestable tfoot td, #finestable tfoot th {
284
    table.finestable tfoot td, table.finestable tfoot th {
285
        display: flex !important;
285
        display: flex !important;
286
    }
286
    }
287
}
287
}
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-2 / +2 lines)
Lines 1-7 Link Here
1
[% PROCESS 'accounts.inc' %]
1
[% PROCESS 'accounts.inc' %]
2
<form method="post" action="opac-account-pay.pl" class="form-horizontal">
2
<form method="post" action="opac-account-pay.pl" class="form-horizontal">
3
    [% IF ( ACCOUNT_LINES ) %]
3
    [% IF ( ACCOUNT_LINES ) %]
4
        <table class="table table-bordered table-striped" id="finestable">
4
        <table class="table table-bordered table-striped finestable" id="finestable">
5
            <caption class="sr-only">Your charges</caption>
5
            <caption class="sr-only">Your charges</caption>
6
            <thead>
6
            <thead>
7
                <tr>
7
                <tr>
Lines 88-94 Link Here
88
    [% FOREACH r IN relatives %]
88
    [% FOREACH r IN relatives %]
89
        <h3 id="g[% r.patron.id | html %]">[% r.patron.firstname | html %] [% r.patron.surname | html %]'s fines and charges</h3>
89
        <h3 id="g[% r.patron.id | html %]">[% r.patron.firstname | html %] [% r.patron.surname | html %]'s fines and charges</h3>
90
90
91
        <table class="table table-bordered table-striped" id="finestable-[% r.id | html %]">
91
        <table class="table table-bordered table-striped finestable" id="finestable-[% r.id | html %]">
92
            <thead>
92
            <thead>
93
                <tr>
93
                <tr>
94
                    [% IF ENABLE_OPAC_PAYMENTS %]<th>&nbsp;</th>[% END %]
94
                    [% IF ENABLE_OPAC_PAYMENTS %]<th>&nbsp;</th>[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt (+19 lines)
Lines 12-17 Link Here
12
                <th>Description</th>
12
                <th>Description</th>
13
                <th>Date enrolled</th>
13
                <th>Date enrolled</th>
14
                <th>&nbsp;</th>
14
                <th>&nbsp;</th>
15
                <th></th>
15
            </tr>
16
            </tr>
16
        </thead>
17
        </thead>
17
18
Lines 30-35 Link Here
30
                            Contact your library to be disenrolled from this club.
31
                            Contact your library to be disenrolled from this club.
31
                        [% END %]
32
                        [% END %]
32
                    </td>
33
                    </td>
34
                    <td></td>
33
                </tr>
35
                </tr>
34
            [% END %]
36
            [% END %]
35
        </tbody>
37
        </tbody>
Lines 46-51 Link Here
46
                <th>Name</th>
48
                <th>Name</th>
47
                <th>Description</th>
49
                <th>Description</th>
48
                <th>&nbsp;</th>
50
                <th>&nbsp;</th>
51
                <th></th>
49
            </tr>
52
            </tr>
50
        </thead>
53
        </thead>
51
54
Lines 63-68 Link Here
63
                            <span class="hint">You must have an email address to enroll</span>
66
                            <span class="hint">You must have an email address to enroll</span>
64
                        [% END %]
67
                        [% END %]
65
                    </td>
68
                    </td>
69
                    <td></td>
66
                </tr>
70
                </tr>
67
            [% END %]
71
            [% END %]
68
        </tbody>
72
        </tbody>
Lines 98-101 function cancelEnrollment( id ) { Link Here
98
    });
102
    });
99
    return false;
103
    return false;
100
}
104
}
105
var Tables = $("#clubs-table-enrolled,#clubs-table-unenrolled");
106
Tables.each(function(){
107
    $(this).dataTable($.extend(true, {}, dataTablesDefaults, {
108
        "searching": false,
109
        "paging": false,
110
        "info": false,
111
        "autoWidth": false,
112
        "responsive": {
113
            "details": { "type": 'column',"target": -1 }
114
        },
115
        "columnDefs": [
116
            { "className": 'dtr-control', "orderable": false, "targets": -1 }
117
        ],
118
    }));
119
});
101
</script>
120
</script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (+4 lines)
Lines 99-104 $( document ).ready(function() { Link Here
99
         "responsive": true,
99
         "responsive": true,
100
    } ));
100
    } ));
101
101
102
    $('table[id^="finestable-"]').dataTable($.extend(true, {}, dataTablesDefaults, {
103
        "responsive": true
104
    } ));
105
102
    $("#filter_p").html('<p><a href="#" id="filter_paid"><i class="fa fa-filter" aria-hidden="true"></i> '+txtActivefilter+'</a>');
106
    $("#filter_p").html('<p><a href="#" id="filter_paid"><i class="fa fa-filter" aria-hidden="true"></i> '+txtActivefilter+'</a>');
103
    $('#filter_paid').click(function(e) {
107
    $('#filter_paid').click(function(e) {
104
        e.preventDefault();
108
        e.preventDefault();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt (-2 / +23 lines)
Lines 96-106 Link Here
96
                                    <caption class="sr-only">Authority search results</caption>
96
                                    <caption class="sr-only">Authority search results</caption>
97
                                    <thead>
97
                                    <thead>
98
                                        <tr>
98
                                        <tr>
99
                                            <th colspan="2">Authorized headings</th>
99
                                            <th>Authorized headings</th>
100
                                            <th></th>
100
                                            <th>Type of heading</th>
101
                                            <th>Type of heading</th>
101
                                            [% UNLESS ( isEDITORS ) %]
102
                                            [% UNLESS ( isEDITORS ) %]
102
                                                <th>Records</th>
103
                                                <th>Records</th>
103
                                            [% END %]
104
                                            [% END %]
105
                                            <th></th>
104
                                        </tr>
106
                                        </tr>
105
                                    </thead>
107
                                    </thead>
106
                                    <tbody>
108
                                    <tbody>
Lines 124-129 Link Here
124
                                                        [% END %]
126
                                                        [% END %]
125
                                                    </td>
127
                                                    </td>
126
                                                [% END %]
128
                                                [% END %]
129
                                                <td></td>
127
                                            </tr>
130
                                            </tr>
128
                                        [% END %]
131
                                        [% END %]
129
                                    </tbody>
132
                                    </tbody>
Lines 140-143 Link Here
140
    </div> <!-- / .main -->
143
    </div> <!-- / .main -->
141
144
142
[% INCLUDE 'opac-bottom.inc' %]
145
[% INCLUDE 'opac-bottom.inc' %]
143
[% BLOCK jsinclude %][% END %]
146
[% BLOCK jsinclude %]
147
    [% INCLUDE 'datatables.inc' %]
148
    <script type="text/JavaScript">
149
        $(document).ready(function(){
150
            $('.table').dataTable($.extend(true, {}, dataTablesDefaults, {
151
                "searching": false,
152
                "paging": false,
153
                "info": false,
154
                "autoWidth": false,
155
                "responsive": {
156
                    "details": { "type": 'column',"target": -1 }
157
                },
158
                "columnDefs": [
159
                    { "className": 'dtr-control', "orderable": false, "targets": -1 }
160
                ],
161
            }));
162
        });
163
    </script>
164
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-1 / +9 lines)
Lines 74-79 Link Here
74
                                    <th>Date due</th>
74
                                    <th>Date due</th>
75
                                    <th>Notes</th>
75
                                    <th>Notes</th>
76
                                    <th>Link</th>
76
                                    <th>Link</th>
77
                                    <th></th>
77
                                </tr>
78
                                </tr>
78
                            </thead>
79
                            </thead>
79
80
Lines 105-110 Link Here
105
                                                <a href="[% cr.biblioitem.url | url %]">Record URL</a>
106
                                                <a href="[% cr.biblioitem.url | url %]">Record URL</a>
106
                                            [% END %]
107
                                            [% END %]
107
                                        </td>
108
                                        </td>
109
                                        <td></td>
108
                                    </tr>
110
                                    </tr>
109
                                [% END %]
111
                                [% END %]
110
                            </tbody>
112
                            </tbody>
Lines 134-140 Link Here
134
                "language": {
136
                "language": {
135
                    "search": "_INPUT_",
137
                    "search": "_INPUT_",
136
                    "searchPlaceholder": _("Search course reserves")
138
                    "searchPlaceholder": _("Search course reserves")
137
                }
139
                },
140
                "responsive": {
141
                    "details": { "type": 'column',"target": -1 }
142
                },
143
                "aoColumnDefs": [
144
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
145
                ],
138
            }, columns_settings );
146
            }, columns_settings );
139
        });
147
        });
140
    </script>
148
    </script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt (-1 / +9 lines)
Lines 45-50 Link Here
45
                                <th>[% tp('Semester', 'Term') | html %]</th>
45
                                <th>[% tp('Semester', 'Term') | html %]</th>
46
                                <th>Instructors</th>
46
                                <th>Instructors</th>
47
                                <th>Notes</th>
47
                                <th>Notes</th>
48
                                <th></th>
48
                            </tr>
49
                            </tr>
49
                        </thead>
50
                        </thead>
50
51
Lines 62-67 Link Here
62
                                      [% END %]
63
                                      [% END %]
63
                                    </td>
64
                                    </td>
64
                                    <td>[% c.public_note | $raw %]</td>
65
                                    <td>[% c.public_note | $raw %]</td>
66
                                    <td></td>
65
                            [% END %]
67
                            [% END %]
66
                        </tbody>
68
                        </tbody>
67
                    </table>
69
                    </table>
Lines 87-93 Link Here
87
                "language": {
89
                "language": {
88
                    "search": "_INPUT_",
90
                    "search": "_INPUT_",
89
                    "searchPlaceholder": _("Search courses")
91
                    "searchPlaceholder": _("Search courses")
90
                }
92
                },
93
                "responsive": {
94
                    "details": { "type": 'column',"target": -1 }
95
                },
96
                "aoColumnDefs": [
97
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
98
                ],
91
            }, columns_settings );
99
            }, columns_settings );
92
        });
100
        });
93
    </script>
101
    </script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-18 / +26 lines)
Lines 756-761 Link Here
756
                                                        <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th>
756
                                                        <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th>
757
                                                        <th id="serial_status" data-colname="serial_status">Status</th>
757
                                                        <th id="serial_status" data-colname="serial_status">Status</th>
758
                                                        <th id="serial_notes" data-colname="serial_notes">Note</th>
758
                                                        <th id="serial_notes" data-colname="serial_notes">Note</th>
759
                                                        <th></th>
759
                                                    </tr>
760
                                                    </tr>
760
                                                </thead>
761
                                                </thead>
761
                                                <tbody>
762
                                                <tbody>
Lines 779-784 Link Here
779
                                                                [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
780
                                                                [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
780
                                                            </td>
781
                                                            </td>
781
                                                            <td class="serial_notes">[% latestserial.notes | html %]</td>
782
                                                            <td class="serial_notes">[% latestserial.notes | html %]</td>
783
                                                            <td></td>
782
                                                        </tr>
784
                                                        </tr>
783
                                                    [% END # / FOREACH latestserials %]
785
                                                    [% END # / FOREACH latestserials %]
784
                                                </tbody>
786
                                                </tbody>
Lines 1724-1754 Link Here
1724
1726
1725
            KohaTable("#holdingst", {
1727
            KohaTable("#holdingst", {
1726
                dom: '<"clearfix">t',
1728
                dom: '<"clearfix">t',
1727
                "columnDefs": [
1729
                "aoColumnDefs": [
1728
                    { "targets": [ -1 ], "sortable": false, "searchable": false },
1730
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1729
                    ],
1731
                ],
1730
                "bKohaColumnsUseNames": true,
1732
                "bKohaColumnsUseNames": true,
1731
                "autoWidth": false,
1733
                "autoWidth": false,
1732
                "responsive": {
1734
                "responsive": {
1733
                    "details": {
1735
                    "details": { "type": 'column', "target": -1 }
1734
                        "type": 'column',
1736
                }
1735
                        "target": -1
1736
                    }
1737
                },
1738
                aoColumnDefs: [ {
1739
                    className:"dtr-control",
1740
                    orderable: false,
1741
                    targets:   [-1],
1742
                } ],
1743
            }, columns_settings);
1737
            }, columns_settings);
1744
1738
1745
            KohaTable("#otherholdingst", {
1739
            KohaTable("#otherholdingst", {
1746
                dom: '<"clearfix">t',
1740
                dom: '<"clearfix">t',
1747
                "columnDefs": [
1741
                "aoColumnDefs": [
1748
                    { "targets": [ -1 ], "sortable": false, "searchable": false },
1742
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1749
                    ],
1743
                ],
1750
                "bKohaColumnsUseNames": true,
1744
                "bKohaColumnsUseNames": true,
1751
                "autoWidth": false
1745
                "autoWidth": false,
1746
                "responsive": {
1747
                    "details": { "type": 'column', "target": -1 }
1748
                }
1752
            }, columns_settings);
1749
            }, columns_settings);
1753
1750
1754
            var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1751
            var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
Lines 1757-1765 Link Here
1757
                dom: '<"clearfix">t',
1754
                dom: '<"clearfix">t',
1758
                "sorting": [[ 1, "desc" ]],
1755
                "sorting": [[ 1, "desc" ]],
1759
                "autoWidth": false,
1756
                "autoWidth": false,
1760
                "bKohaColumnsUseNames": true
1757
                "bKohaColumnsUseNames": true,
1758
                "responsive": {
1759
                    "details": { "type": 'column', "target": -1 }
1760
                },
1761
                "aoColumnDefs": [
1762
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1763
                ],
1761
            }, serial_column_settings);
1764
            }, serial_column_settings);
1762
1765
1766
            var dTables = $("#holdingst,#subscriptionst,#otherholdingst");
1767
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1768
                dTables.DataTable().responsive.recalc();
1769
            } );
1770
1763
            [% IF ( TagsInputEnabled && loggedinusername ) %]
1771
            [% IF ( TagsInputEnabled && loggedinusername ) %]
1764
                    $(".tag_add").click(function(){
1772
                    $(".tag_add").click(function(){
1765
                        var thisid = $(this).attr("id");
1773
                        var thisid = $(this).attr("id");
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (+14 lines)
Lines 56-61 Link Here
56
                                            [% IF Koha.Preference('PhoneNotification') %]<th>Phone</th>[% END %]
56
                                            [% IF Koha.Preference('PhoneNotification') %]<th>Phone</th>[% END %]
57
                                            <th>Email</th>
57
                                            <th>Email</th>
58
                                            <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
58
                                            <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
59
                                            <th></th>
59
                                        </tr>
60
                                        </tr>
60
                                    </thead>
61
                                    </thead>
61
                                    <tbody>
62
                                    <tbody>
Lines 171-176 Link Here
171
                                            [% ELSE %]
172
                                            [% ELSE %]
172
                                            <td>-</td>
173
                                            <td>-</td>
173
                                            [% END %]
174
                                            [% END %]
175
                                            <td></td>
174
176
175
                                        </tr>
177
                                        </tr>
176
                                    [% END # / FOREACH messaging_preferences%]
178
                                    [% END # / FOREACH messaging_preferences%]
Lines 254-259 Link Here
254
256
255
[% INCLUDE 'opac-bottom.inc' %]
257
[% INCLUDE 'opac-bottom.inc' %]
256
[% BLOCK jsinclude %]
258
[% BLOCK jsinclude %]
259
    [% INCLUDE 'datatables.inc' %]
257
    <script>
260
    <script>
258
        $(document).ready(function(){
261
        $(document).ready(function(){
259
            $("#info_digests").tooltip();
262
            $("#info_digests").tooltip();
Lines 310-314 Link Here
310
                }, 100);
313
                }, 100);
311
            });
314
            });
312
        }
315
        }
316
        $('.table').dataTable($.extend(true, {}, dataTablesDefaults, {
317
            "searching": false,
318
            "paging": false,
319
            "info": false,
320
            "responsive": {
321
                "details": { "type": 'column',"target": -1 }
322
            },
323
            "columnDefs": [
324
                { "className": 'dtr-control', "orderable": false, "targets": -1 }
325
            ],
326
        }));
313
    </script>
327
    </script>
314
[% END %]
328
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-1 / +11 lines)
Lines 106-111 Link Here
106
                                                [% IF ( OPACMySummaryHTML ) %]
106
                                                [% IF ( OPACMySummaryHTML ) %]
107
                                                    <th class="NoSort noExport">Links</th>
107
                                                    <th class="NoSort noExport">Links</th>
108
                                                [% END %]
108
                                                [% END %]
109
                                                <th></th>
109
                                            </tr>
110
                                            </tr>
110
                                        </thead>
111
                                        </thead>
111
                                        <tbody>
112
                                        <tbody>
Lines 185-190 Link Here
185
                                                [% IF OPACMySummaryHTML %]
186
                                                [% IF OPACMySummaryHTML %]
186
                                                    <td>[% issue.MySummaryHTML | $raw %]</td>
187
                                                    <td>[% issue.MySummaryHTML | $raw %]</td>
187
                                                [% END %]
188
                                                [% END %]
189
                                                <td></td>
188
                                                </tr>
190
                                                </tr>
189
                                            [% END # / FOREACH issue %]
191
                                            [% END # / FOREACH issue %]
190
                                        </tbody>
192
                                        </tbody>
Lines 220-226 Link Here
220
            "language": {
222
            "language": {
221
                "search": "_INPUT_",
223
                "search": "_INPUT_",
222
                "searchPlaceholder": _("Search")
224
                "searchPlaceholder": _("Search")
223
            }
225
            },
226
            "responsive": {
227
                "details": {"type": 'column',"target": -1}
228
            },
229
            "aoColumnDefs": [
230
                { "className": "dtr-control","orderable": false,"targets": [-1] },
231
                { "visible": false, "targets": [0]},
232
                { "orderable": false, "targets": [1]}
233
            ],
224
        }, columns_settings);
234
        }, columns_settings);
225
235
226
        $("#tabs a[data-toggle='tab']").on("shown.bs.tab", function (e) {
236
        $("#tabs a[data-toggle='tab']").on("shown.bs.tab", function (e) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt (-1 / +7 lines)
Lines 41-46 Link Here
41
                                            <th>Status</th>
41
                                            <th>Status</th>
42
                                            <th>Due date</th>
42
                                            <th>Due date</th>
43
                                            <th class="nosort">&nbsp;</th>
43
                                            <th class="nosort">&nbsp;</th>
44
                                            <th></th>
44
                                        </tr>
45
                                        </tr>
45
                                    </thead>
46
                                    </thead>
46
                                    <tbody>
47
                                    <tbody>
Lines 120-125 Link Here
120
                                                        [% END %]
121
                                                        [% END %]
121
                                                    </td>
122
                                                    </td>
122
                                                [% END %]
123
                                                [% END %]
124
                                                <td></td>
123
                                            </tr>
125
                                            </tr>
124
                                        </tbody>
126
                                        </tbody>
125
                                    </table>
127
                                    </table>
Lines 146-155 Link Here
146
                    return confirmDelete(_("Are you sure you want to remove this recall?"));
148
                    return confirmDelete(_("Are you sure you want to remove this recall?"));
147
                });
149
                });
148
                $("#recalls-table").dataTable($.extend(true, {}, dataTablesDefaults, {
150
                $("#recalls-table").dataTable($.extend(true, {}, dataTablesDefaults, {
151
                    "responsive": {
152
                        "details": { "type": 'column', "target": -1 }
153
                    },
149
                    "aoColumnDefs": [
154
                    "aoColumnDefs": [
150
                        { "aTargets": [ "nosort" ],"bSortable": false,"bSearchable": false },
155
                        { "aTargets": [ "nosort" ],"bSortable": false,"bSearchable": false },
151
                        { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
156
                        { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
152
                        { "sType": "title-string", "aTargets" : [ "title-string" ] }
157
                        { "sType": "title-string", "aTargets" : [ "title-string" ] },
158
                        { "className": "dtr-control", "orderable": false, "targets": -1 }
153
                    ]
159
                    ]
154
                }));
160
                }));
155
            });
161
            });
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-5 / +5 lines)
Lines 289-295 Link Here
289
            "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
289
            "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
290
            "columnDefs": [
290
            "columnDefs": [
291
                { "targets": [ 0 ], "sortable": false, "searchable": false },
291
                { "targets": [ 0 ], "sortable": false, "searchable": false },
292
                {"className": 'dtr-control',"orderable": false,"targets":   -1}
292
                { "className": 'dtr-control', "orderable": false, "targets": -1 }
293
            ],
293
            ],
294
            "language": {
294
            "language": {
295
                "search": "_INPUT_",
295
                "search": "_INPUT_",
Lines 297-309 Link Here
297
            },
297
            },
298
            "autoWidth": false,
298
            "autoWidth": false,
299
            "responsive": {
299
            "responsive": {
300
                details: {
300
                "details": { "type": 'column',"target": -1 }
301
                    type: 'column',
302
                    target: -1
303
                }
304
            },
301
            },
305
        }));
302
        }));
306
303
304
        $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
305
            $(".historyt").DataTable().responsive.recalc();
306
        });
307
        $(".CheckNone").click(function(e){
307
        $(".CheckNone").click(function(e){
308
            e.preventDefault();
308
            e.preventDefault();
309
            var form = $(this).parents("form").get(0);
309
            var form = $(this).parents("form").get(0);
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-7 / +22 lines)
Lines 807-812 Link Here
807
                                                <th>Pickup location</th>
807
                                                <th>Pickup location</th>
808
                                                <th>Status</th>
808
                                                <th>Status</th>
809
                                                <th class="nosort">&nbsp;</th>
809
                                                <th class="nosort">&nbsp;</th>
810
                                                <th></th>
810
                                            </tr>
811
                                            </tr>
811
                                        </thead>
812
                                        </thead>
812
                                        <tbody>
813
                                        <tbody>
Lines 862-867 Link Here
862
                                                    [% END %]
863
                                                    [% END %]
863
                                                </td>
864
                                                </td>
864
                                            [% END %]
865
                                            [% END %]
866
                                            <td></td>
865
                                            </tr>
867
                                            </tr>
866
                                        </tbody>
868
                                        </tbody>
867
                                    </table>
869
                                    </table>
Lines 890-895 Link Here
890
                                                    <th class="article-request-status">Status</th>
892
                                                    <th class="article-request-status">Status</th>
891
                                                    <th class="article-request-branchcode">Pickup library</th>
893
                                                    <th class="article-request-branchcode">Pickup library</th>
892
                                                    <th class="nosort article-request-cancel">&nbsp;</th>
894
                                                    <th class="nosort article-request-cancel">&nbsp;</th>
895
                                                    <th></th>
893
                                                </tr>
896
                                                </tr>
894
                                            </thead>
897
                                            </thead>
895
898
Lines 966-971 Link Here
966
                                                            <td class="article-request-cancel">
969
                                                            <td class="article-request-cancel">
967
                                                                <button data-title="[% ar.biblio.title | html %] [% ar.item.enumchron | html %]" data-article-request_id="[% ar.id | html %]" class="btn btn-sm btn-danger btn-delete-article-request"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button>
970
                                                                <button data-title="[% ar.biblio.title | html %] [% ar.item.enumchron | html %]" data-article-request_id="[% ar.id | html %]" class="btn btn-sm btn-danger btn-delete-article-request"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button>
968
                                                            </td>
971
                                                            </td>
972
                                                            <td></td>
969
                                                        </tr>
973
                                                        </tr>
970
                                                    [% END %]
974
                                                    [% END %]
971
                                            </tbody>
975
                                            </tbody>
Lines 1165-1171 Link Here
1165
                    "columnDefs": [
1169
                    "columnDefs": [
1166
                        { "targets": [ "nosort" ],"sortable": false,"searchable": false },
1170
                        { "targets": [ "nosort" ],"sortable": false,"searchable": false },
1167
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1171
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1168
                        { "visible": false, "targets" : [ "hidden" ] }
1172
                        { "visible": false, "targets" : [ "hidden" ] },
1173
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1169
                    ],
1174
                    ],
1170
                    "language": {
1175
                    "language": {
1171
                        "search": "_INPUT_",
1176
                        "search": "_INPUT_",
Lines 1178-1188 Link Here
1178
                            target: -1
1183
                            target: -1
1179
                        }
1184
                        }
1180
                    },
1185
                    },
1181
                    "columnDefs": [ {
1182
                        className: 'dtr-control',
1183
                        orderable: false,
1184
                        targets:   -1
1185
                    } ],
1186
                    buttons: [
1186
                    buttons: [
1187
                        /* Override default button set so that we can extend the options of print and csv */
1187
                        /* Override default button set so that we can extend the options of print and csv */
1188
                        'clearFilter', 'copy',
1188
                        'clearFilter', 'copy',
Lines 1204-1211 Link Here
1204
                }));
1204
                }));
1205
            });
1205
            });
1206
1206
1207
            var dataTables = $("#recalls-table,#article-requests-table");
1208
            dataTables.each(function(){
1209
                $(this).dataTable($.extend(true, {}, dataTablesDefaults, {
1210
                    "searching": false,
1211
                    "paging": false,
1212
                    "info": false,
1213
                    "autoWidth": false,
1214
                    "responsive": {
1215
                        "details": { "type": 'column',"target": -1 }
1216
                    },
1217
                    "columnDefs": [
1218
                        { "className": 'dtr-control', "orderable": false, "targets": -1 } 
1219
                    ],
1220
                }));
1221
            });
1207
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1222
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1208
                dTables.DataTable().responsive.recalc();
1223
                dTables.DataTable().responsive.recalc();
1224
                dataTables.DataTable().responsive.recalc();
1209
            } );
1225
            } );
1210
1226
1211
            $("body").on("click", "#buttons-ics", function(){
1227
            $("body").on("click", "#buttons-ics", function(){
1212
- 

Return to bug 32341