Lines 84-96
Link Here
|
84 |
[% WRAPPER tab_panels %] |
84 |
[% WRAPPER tab_panels %] |
85 |
[% FOR tab IN tabs %] |
85 |
[% FOR tab IN tabs %] |
86 |
[% WRAPPER tab_panel tabname=tab.id %] |
86 |
[% WRAPPER tab_panel tabname=tab.id %] |
87 |
<table> |
87 |
<table class="overduerulest" id="overduerulest-[% tab.id | html %]"> |
88 |
<thead> |
88 |
<thead> |
89 |
<tr> |
89 |
<tr> |
90 |
<th> </th> |
90 |
<th>Patron category</th> |
91 |
<th scope="col">Delay</th> |
91 |
<th class="NoSort" scope="col">Delay</th> |
92 |
<th scope="col">Letter</th> |
92 |
<th class="NoSort" scope="col">Letter</th> |
93 |
<th scope="col">Restrict</th> |
93 |
<th class="NoSort" scope="col">Restrict</th> |
94 |
[% FOREACH mtt IN message_transport_types %] |
94 |
[% FOREACH mtt IN message_transport_types %] |
95 |
[% NEXT IF mtt == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] |
95 |
[% NEXT IF mtt == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] |
96 |
[% NEXT IF mtt == 'phone' AND !Koha.Preference('PhoneNotification') %] |
96 |
[% NEXT IF mtt == 'phone' AND !Koha.Preference('PhoneNotification') %] |
Lines 177-182
Link Here
|
177 |
|
177 |
|
178 |
[% MACRO jsinclude BLOCK %] |
178 |
[% MACRO jsinclude BLOCK %] |
179 |
[% Asset.js("js/tools-menu.js") | $raw %] |
179 |
[% Asset.js("js/tools-menu.js") | $raw %] |
|
|
180 |
[% INCLUDE 'datatables.inc' %] |
180 |
<script> |
181 |
<script> |
181 |
var tab_map = { "0" : _("First"), "1" : _("Second"), "2" : _("Third")}; |
182 |
var tab_map = { "0" : _("First"), "1" : _("Second"), "2" : _("Third")}; |
182 |
$(document).ready(function() { |
183 |
$(document).ready(function() { |
Lines 190-195
Link Here
|
190 |
if( $("#rulestabs .tab-pane.active").length < 1 ){ |
191 |
if( $("#rulestabs .tab-pane.active").length < 1 ){ |
191 |
$("#rulestabs a:first").tab("show"); |
192 |
$("#rulestabs a:first").tab("show"); |
192 |
} |
193 |
} |
|
|
194 |
$(".overduerulest").dataTable($.extend(true, {}, dataTablesDefaults, { |
195 |
"aoColumnDefs": [ |
196 |
{ "targets": [ "NoSort" ], "orderable": false, "searchable": false }, |
197 |
], |
198 |
"dom": '<"top pager"f>rt<"clear">', |
199 |
"paginate": false, |
200 |
})); |
193 |
}); |
201 |
}); |
194 |
</script> |
202 |
</script> |
195 |
[% END %] |
203 |
[% END %] |
196 |
- |
|
|