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 257-267 Link Here
257
        display: block;
257
        display: block;
258
    }
258
    }
259
259
260
    #finestable tfoot tr {
260
    table.finestable tfoot tr {
261
        display: flex !important;
261
        display: flex !important;
262
        width: max-content;
262
        width: max-content;
263
    }
263
    }
264
    #finestable tfoot td, #finestable tfoot th {
264
    table.finestable tfoot td, table.finestable tfoot th {
265
        display: flex !important;
265
        display: flex !important;
266
    }
266
    }
267
}
267
}
(-)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 1747-1777 Link Here
1747
1749
1748
            KohaTable("#holdingst", {
1750
            KohaTable("#holdingst", {
1749
                dom: '<"clearfix">t',
1751
                dom: '<"clearfix">t',
1750
                "columnDefs": [
1752
                "aoColumnDefs": [
1751
                    { "targets": [ -1 ], "sortable": false, "searchable": false },
1753
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1752
                    ],
1754
                ],
1753
                "bKohaColumnsUseNames": true,
1755
                "bKohaColumnsUseNames": true,
1754
                "autoWidth": false,
1756
                "autoWidth": false,
1755
                "responsive": {
1757
                "responsive": {
1756
                    "details": {
1758
                    "details": { "type": 'column', "target": -1 }
1757
                        "type": 'column',
1759
                }
1758
                        "target": -1
1759
                    }
1760
                },
1761
                aoColumnDefs: [ {
1762
                    className:"dtr-control",
1763
                    orderable: false,
1764
                    targets:   [-1],
1765
                } ],
1766
            }, columns_settings);
1760
            }, columns_settings);
1767
1761
1768
            KohaTable("#otherholdingst", {
1762
            KohaTable("#otherholdingst", {
1769
                dom: '<"clearfix">t',
1763
                dom: '<"clearfix">t',
1770
                "columnDefs": [
1764
                "aoColumnDefs": [
1771
                    { "targets": [ -1 ], "sortable": false, "searchable": false },
1765
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1772
                    ],
1766
                ],
1773
                "bKohaColumnsUseNames": true,
1767
                "bKohaColumnsUseNames": true,
1774
                "autoWidth": false
1768
                "autoWidth": false,
1769
                "responsive": {
1770
                    "details": { "type": 'column', "target": -1 }
1771
                }
1775
            }, columns_settings);
1772
            }, columns_settings);
1776
1773
1777
            var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1774
            var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
Lines 1780-1788 Link Here
1780
                dom: '<"clearfix">t',
1777
                dom: '<"clearfix">t',
1781
                "sorting": [[ 1, "desc" ]],
1778
                "sorting": [[ 1, "desc" ]],
1782
                "autoWidth": false,
1779
                "autoWidth": false,
1783
                "bKohaColumnsUseNames": true
1780
                "bKohaColumnsUseNames": true,
1781
                "responsive": {
1782
                    "details": { "type": 'column', "target": -1 }
1783
                },
1784
                "aoColumnDefs": [
1785
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1786
                ],
1784
            }, serial_column_settings);
1787
            }, serial_column_settings);
1785
1788
1789
            var dTables = $("#holdingst,#subscriptionst,#otherholdingst");
1790
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1791
                dTables.DataTable().responsive.recalc();
1792
            } );
1793
1786
            [% IF ( TagsInputEnabled && loggedinusername ) %]
1794
            [% IF ( TagsInputEnabled && loggedinusername ) %]
1787
                    $(".tag_add").click(function(){
1795
                    $(".tag_add").click(function(){
1788
                        var thisid = $(this).attr("id");
1796
                        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 111-116 Link Here
111
                                                [% IF ( OPACMySummaryHTML ) %]
111
                                                [% IF ( OPACMySummaryHTML ) %]
112
                                                    <th class="NoSort noExport">Links</th>
112
                                                    <th class="NoSort noExport">Links</th>
113
                                                [% END %]
113
                                                [% END %]
114
                                                <th></th>
114
                                            </tr>
115
                                            </tr>
115
                                        </thead>
116
                                        </thead>
116
                                        <tbody>
117
                                        <tbody>
Lines 190-195 Link Here
190
                                                [% IF OPACMySummaryHTML %]
191
                                                [% IF OPACMySummaryHTML %]
191
                                                    <td>[% issue.MySummaryHTML | $raw %]</td>
192
                                                    <td>[% issue.MySummaryHTML | $raw %]</td>
192
                                                [% END %]
193
                                                [% END %]
194
                                                <td></td>
193
                                                </tr>
195
                                                </tr>
194
                                            [% END # / FOREACH issue %]
196
                                            [% END # / FOREACH issue %]
195
                                        </tbody>
197
                                        </tbody>
Lines 225-231 Link Here
225
            "language": {
227
            "language": {
226
                "search": "_INPUT_",
228
                "search": "_INPUT_",
227
                "searchPlaceholder": _("Search")
229
                "searchPlaceholder": _("Search")
228
            }
230
            },
231
            "responsive": {
232
                "details": {"type": 'column',"target": -1}
233
            },
234
            "aoColumnDefs": [
235
                { "className": "dtr-control","orderable": false,"targets": [-1] },
236
                { "visible": false, "targets": [0]},
237
                { "orderable": false, "targets": [1]}
238
            ],
229
        }, columns_settings);
239
        }, columns_settings);
230
240
231
        $("#tabs a[data-toggle='tab']").on("shown.bs.tab", function (e) {
241
        $("#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 813-818 Link Here
813
                                                <th>Pickup location</th>
813
                                                <th>Pickup location</th>
814
                                                <th>Status</th>
814
                                                <th>Status</th>
815
                                                <th class="nosort">&nbsp;</th>
815
                                                <th class="nosort">&nbsp;</th>
816
                                                <th></th>
816
                                            </tr>
817
                                            </tr>
817
                                        </thead>
818
                                        </thead>
818
                                        <tbody>
819
                                        <tbody>
Lines 868-873 Link Here
868
                                                    [% END %]
869
                                                    [% END %]
869
                                                </td>
870
                                                </td>
870
                                            [% END %]
871
                                            [% END %]
872
                                            <td></td>
871
                                            </tr>
873
                                            </tr>
872
                                        </tbody>
874
                                        </tbody>
873
                                    </table>
875
                                    </table>
Lines 896-901 Link Here
896
                                                    <th class="article-request-status">Status</th>
898
                                                    <th class="article-request-status">Status</th>
897
                                                    <th class="article-request-branchcode">Pickup library</th>
899
                                                    <th class="article-request-branchcode">Pickup library</th>
898
                                                    <th class="nosort article-request-cancel">&nbsp;</th>
900
                                                    <th class="nosort article-request-cancel">&nbsp;</th>
901
                                                    <th></th>
899
                                                </tr>
902
                                                </tr>
900
                                            </thead>
903
                                            </thead>
901
904
Lines 972-977 Link Here
972
                                                            <td class="article-request-cancel">
975
                                                            <td class="article-request-cancel">
973
                                                                <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>
976
                                                                <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>
974
                                                            </td>
977
                                                            </td>
978
                                                            <td></td>
975
                                                        </tr>
979
                                                        </tr>
976
                                                    [% END %]
980
                                                    [% END %]
977
                                            </tbody>
981
                                            </tbody>
Lines 1171-1177 Link Here
1171
                    "columnDefs": [
1175
                    "columnDefs": [
1172
                        { "targets": [ "nosort" ],"sortable": false,"searchable": false },
1176
                        { "targets": [ "nosort" ],"sortable": false,"searchable": false },
1173
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1177
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1174
                        { "visible": false, "targets" : [ "hidden" ] }
1178
                        { "visible": false, "targets" : [ "hidden" ] },
1179
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1175
                    ],
1180
                    ],
1176
                    "language": {
1181
                    "language": {
1177
                        "search": "_INPUT_",
1182
                        "search": "_INPUT_",
Lines 1184-1194 Link Here
1184
                            target: -1
1189
                            target: -1
1185
                        }
1190
                        }
1186
                    },
1191
                    },
1187
                    "columnDefs": [ {
1188
                        className: 'dtr-control',
1189
                        orderable: false,
1190
                        targets:   -1
1191
                    } ],
1192
                    buttons: [
1192
                    buttons: [
1193
                        /* Override default button set so that we can extend the options of print and csv */
1193
                        /* Override default button set so that we can extend the options of print and csv */
1194
                        'clearFilter', 'copy',
1194
                        'clearFilter', 'copy',
Lines 1210-1217 Link Here
1210
                }));
1210
                }));
1211
            });
1211
            });
1212
1212
1213
            var dataTables = $("#recalls-table,#article-requests-table");
1214
            dataTables.each(function(){
1215
                $(this).dataTable($.extend(true, {}, dataTablesDefaults, {
1216
                    "searching": false,
1217
                    "paging": false,
1218
                    "info": false,
1219
                    "autoWidth": false,
1220
                    "responsive": {
1221
                        "details": { "type": 'column',"target": -1 }
1222
                    },
1223
                    "columnDefs": [
1224
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1225
                    ],
1226
                }));
1227
            });
1213
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1228
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1214
                dTables.DataTable().responsive.recalc();
1229
                dTables.DataTable().responsive.recalc();
1230
                dataTables.DataTable().responsive.recalc();
1215
            } );
1231
            } );
1216
1232
1217
            $("body").on("click", "#buttons-ics", function(){
1233
            $("body").on("click", "#buttons-ics", function(){
1218
- 

Return to bug 32341