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