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 758-763 Link Here
758
                                                        <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th>
758
                                                        <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th>
759
                                                        <th id="serial_status" data-colname="serial_status">Status</th>
759
                                                        <th id="serial_status" data-colname="serial_status">Status</th>
760
                                                        <th id="serial_notes" data-colname="serial_notes">Note</th>
760
                                                        <th id="serial_notes" data-colname="serial_notes">Note</th>
761
                                                        <th></th>
761
                                                    </tr>
762
                                                    </tr>
762
                                                </thead>
763
                                                </thead>
763
                                                <tbody>
764
                                                <tbody>
Lines 770-775 Link Here
770
                                                                [% INCLUDE 'serial-status.inc' serial = latestserial %]
771
                                                                [% INCLUDE 'serial-status.inc' serial = latestserial %]
771
                                                            </td>
772
                                                            </td>
772
                                                            <td class="serial_notes">[% latestserial.notes | html %]</td>
773
                                                            <td class="serial_notes">[% latestserial.notes | html %]</td>
774
                                                            <td></td>
773
                                                        </tr>
775
                                                        </tr>
774
                                                    [% END # / FOREACH latestserials %]
776
                                                    [% END # / FOREACH latestserials %]
775
                                                </tbody>
777
                                                </tbody>
Lines 1740-1770 Link Here
1740
1742
1741
            KohaTable("#holdingst", {
1743
            KohaTable("#holdingst", {
1742
                dom: '<"clearfix">t',
1744
                dom: '<"clearfix">t',
1743
                "columnDefs": [
1745
                "aoColumnDefs": [
1744
                    { "targets": [ -1 ], "sortable": false, "searchable": false },
1746
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1745
                    ],
1747
                ],
1746
                "bKohaColumnsUseNames": true,
1748
                "bKohaColumnsUseNames": true,
1747
                "autoWidth": false,
1749
                "autoWidth": false,
1748
                "responsive": {
1750
                "responsive": {
1749
                    "details": {
1751
                    "details": { "type": 'column', "target": -1 }
1750
                        "type": 'column',
1752
                }
1751
                        "target": -1
1752
                    }
1753
                },
1754
                aoColumnDefs: [ {
1755
                    className:"dtr-control",
1756
                    orderable: false,
1757
                    targets:   [-1],
1758
                } ],
1759
            }, columns_settings);
1753
            }, columns_settings);
1760
1754
1761
            KohaTable("#otherholdingst", {
1755
            KohaTable("#otherholdingst", {
1762
                dom: '<"clearfix">t',
1756
                dom: '<"clearfix">t',
1763
                "columnDefs": [
1757
                "aoColumnDefs": [
1764
                    { "targets": [ -1 ], "sortable": false, "searchable": false },
1758
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1765
                    ],
1759
                ],
1766
                "bKohaColumnsUseNames": true,
1760
                "bKohaColumnsUseNames": true,
1767
                "autoWidth": false
1761
                "autoWidth": false,
1762
                "responsive": {
1763
                    "details": { "type": 'column', "target": -1 }
1764
                }
1768
            }, columns_settings);
1765
            }, columns_settings);
1769
1766
1770
            var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1767
            var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
Lines 1773-1781 Link Here
1773
                dom: '<"clearfix">t',
1770
                dom: '<"clearfix">t',
1774
                "sorting": [[ 1, "desc" ]],
1771
                "sorting": [[ 1, "desc" ]],
1775
                "autoWidth": false,
1772
                "autoWidth": false,
1776
                "bKohaColumnsUseNames": true
1773
                "bKohaColumnsUseNames": true,
1774
                "responsive": {
1775
                    "details": { "type": 'column', "target": -1 }
1776
                },
1777
                "aoColumnDefs": [
1778
                    { "className": "dtr-control", "orderable": false, "targets": -1 }
1779
                ],
1777
            }, serial_column_settings);
1780
            }, serial_column_settings);
1778
1781
1782
            var dTables = $("#holdingst,#subscriptionst,#otherholdingst");
1783
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1784
                dTables.DataTable().responsive.recalc();
1785
            } );
1786
1779
            [% IF ( TagsInputEnabled && loggedinusername ) %]
1787
            [% IF ( TagsInputEnabled && loggedinusername ) %]
1780
                    $(".tag_add").click(function(){
1788
                    $(".tag_add").click(function(){
1781
                        var thisid = $(this).attr("id");
1789
                        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 112-117 Link Here
112
                                                [% IF ( OPACMySummaryHTML ) %]
112
                                                [% IF ( OPACMySummaryHTML ) %]
113
                                                    <th class="NoSort noExport">Links</th>
113
                                                    <th class="NoSort noExport">Links</th>
114
                                                [% END %]
114
                                                [% END %]
115
                                                <th></th>
115
                                            </tr>
116
                                            </tr>
116
                                        </thead>
117
                                        </thead>
117
                                        <tbody>
118
                                        <tbody>
Lines 189-194 Link Here
189
                                                [% IF OPACMySummaryHTML %]
190
                                                [% IF OPACMySummaryHTML %]
190
                                                    <td>[% issue.MySummaryHTML | $raw %]</td>
191
                                                    <td>[% issue.MySummaryHTML | $raw %]</td>
191
                                                [% END %]
192
                                                [% END %]
193
                                                <td></td>
192
                                                </tr>
194
                                                </tr>
193
                                            [% END # / FOREACH issue %]
195
                                            [% END # / FOREACH issue %]
194
                                        </tbody>
196
                                        </tbody>
Lines 224-230 Link Here
224
            "language": {
226
            "language": {
225
                "search": "_INPUT_",
227
                "search": "_INPUT_",
226
                "searchPlaceholder": _("Search")
228
                "searchPlaceholder": _("Search")
227
            }
229
            },
230
            "responsive": {
231
                "details": {"type": 'column',"target": -1}
232
            },
233
            "aoColumnDefs": [
234
                { "className": "dtr-control","orderable": false,"targets": [-1] },
235
                { "visible": false, "targets": [0]},
236
                { "orderable": false, "targets": [1]}
237
            ],
228
        }, columns_settings);
238
        }, columns_settings);
229
239
230
        $("#tabs a[data-toggle='tab']").on("shown.bs.tab", function (e) {
240
        $("#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 852-857 Link Here
852
                                                <th>Pickup location</th>
852
                                                <th>Pickup location</th>
853
                                                <th>Status</th>
853
                                                <th>Status</th>
854
                                                <th class="nosort">&nbsp;</th>
854
                                                <th class="nosort">&nbsp;</th>
855
                                                <th></th>
855
                                            </tr>
856
                                            </tr>
856
                                        </thead>
857
                                        </thead>
857
                                        <tbody>
858
                                        <tbody>
Lines 907-912 Link Here
907
                                                    [% END %]
908
                                                    [% END %]
908
                                                </td>
909
                                                </td>
909
                                            [% END %]
910
                                            [% END %]
911
                                            <td></td>
910
                                            </tr>
912
                                            </tr>
911
                                        </tbody>
913
                                        </tbody>
912
                                    </table>
914
                                    </table>
Lines 935-940 Link Here
935
                                                    <th class="article-request-status">Status</th>
937
                                                    <th class="article-request-status">Status</th>
936
                                                    <th class="article-request-branchcode">Pickup library</th>
938
                                                    <th class="article-request-branchcode">Pickup library</th>
937
                                                    <th class="nosort article-request-cancel">&nbsp;</th>
939
                                                    <th class="nosort article-request-cancel">&nbsp;</th>
940
                                                    <th></th>
938
                                                </tr>
941
                                                </tr>
939
                                            </thead>
942
                                            </thead>
940
943
Lines 1011-1016 Link Here
1011
                                                            <td class="article-request-cancel">
1014
                                                            <td class="article-request-cancel">
1012
                                                                <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>
1015
                                                                <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>
1013
                                                            </td>
1016
                                                            </td>
1017
                                                            <td></td>
1014
                                                        </tr>
1018
                                                        </tr>
1015
                                                    [% END %]
1019
                                                    [% END %]
1016
                                            </tbody>
1020
                                            </tbody>
Lines 1207-1213 Link Here
1207
                    "columnDefs": [
1211
                    "columnDefs": [
1208
                        { "targets": [ "nosort" ],"sortable": false,"searchable": false },
1212
                        { "targets": [ "nosort" ],"sortable": false,"searchable": false },
1209
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1213
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1210
                        { "visible": false, "targets" : [ "hidden" ] }
1214
                        { "visible": false, "targets" : [ "hidden" ] },
1215
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1211
                    ],
1216
                    ],
1212
                    "language": {
1217
                    "language": {
1213
                        "search": "_INPUT_",
1218
                        "search": "_INPUT_",
Lines 1220-1230 Link Here
1220
                            target: -1
1225
                            target: -1
1221
                        }
1226
                        }
1222
                    },
1227
                    },
1223
                    "columnDefs": [ {
1224
                        className: 'dtr-control',
1225
                        orderable: false,
1226
                        targets:   -1
1227
                    } ],
1228
                    buttons: [
1228
                    buttons: [
1229
                        /* Override default button set so that we can extend the options of print and csv */
1229
                        /* Override default button set so that we can extend the options of print and csv */
1230
                        'clearFilter', 'copy',
1230
                        'clearFilter', 'copy',
Lines 1246-1253 Link Here
1246
                }));
1246
                }));
1247
            });
1247
            });
1248
1248
1249
            var dataTables = $("#recalls-table,#article-requests-table");
1250
            dataTables.each(function(){
1251
                $(this).dataTable($.extend(true, {}, dataTablesDefaults, {
1252
                    "searching": false,
1253
                    "paging": false,
1254
                    "info": false,
1255
                    "autoWidth": false,
1256
                    "responsive": {
1257
                        "details": { "type": 'column',"target": -1 }
1258
                    },
1259
                    "columnDefs": [
1260
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1261
                    ],
1262
                }));
1263
            });
1249
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1264
            $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
1250
                dTables.DataTable().responsive.recalc();
1265
                dTables.DataTable().responsive.recalc();
1266
                dataTables.DataTable().responsive.recalc();
1251
            } );
1267
            } );
1252
1268
1253
            $("body").on("click", "#buttons-ics", function(){
1269
            $("body").on("click", "#buttons-ics", function(){
1254
- 

Return to bug 32341