Lines 14-19
Link Here
|
14 |
[% ELSE %] |
14 |
[% ELSE %] |
15 |
<link rel="shortcut icon" href="[% interface | html %]/[% theme | html %]/images/favicon.ico" type="image/x-icon" /> |
15 |
<link rel="shortcut icon" href="[% interface | html %]/[% theme | html %]/images/favicon.ico" type="image/x-icon" /> |
16 |
[% END %] |
16 |
[% END %] |
|
|
17 |
[% Asset.css("lib/jquery/responsive.dataTables.min.css") | $raw %] |
17 |
[% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %] |
18 |
[% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %] |
18 |
[% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %] |
19 |
[% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %] |
19 |
[% Asset.css("lib/fontawesome/css/solid.min.css") | $raw %] |
20 |
[% Asset.css("lib/fontawesome/css/solid.min.css") | $raw %] |
Lines 313-325
Link Here
|
313 |
<thead> |
314 |
<thead> |
314 |
<tr> |
315 |
<tr> |
315 |
<th class="noshow">Checked out on</th> |
316 |
<th class="noshow">Checked out on</th> |
316 |
<th class="anti-the">Title</th> |
317 |
<th class="all anti-the">Title</th> |
317 |
<th>Call number</th> |
318 |
<th>Call number</th> |
318 |
<th>Due</th> |
319 |
<th class="psort">Due</th> |
319 |
<th class="nosort">Renew</th> |
320 |
<th class="all nosort">Renew</th> |
320 |
[% UNLESS ( nofines ) %] |
321 |
[% UNLESS ( nofines ) %] |
321 |
<th>Fines</th> |
322 |
<th>Fines</th> |
322 |
[% END %] |
323 |
[% END %] |
|
|
324 |
<th></th> |
323 |
</tr> |
325 |
</tr> |
324 |
</thead> |
326 |
</thead> |
325 |
<tbody> |
327 |
<tbody> |
Lines 373-381
Link Here
|
373 |
<span>No renewals allowed</span> |
375 |
<span>No renewals allowed</span> |
374 |
[% END %] |
376 |
[% END %] |
375 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
377 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
376 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
378 |
<div> |
377 |
<input type="hidden" name="op" value="returnbook" /> |
379 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
378 |
<input type="hidden" name="confirmed" value="" /> |
380 |
<input type="hidden" name="op" value="returnbook" /> |
|
|
381 |
<input type="hidden" name="confirmed" value="" /> |
382 |
</div> |
379 |
[% END %] |
383 |
[% END %] |
380 |
[% END %] |
384 |
[% END %] |
381 |
[% IF ISSUE.auto_renew %] |
385 |
[% IF ISSUE.auto_renew %] |
Lines 388-393
Link Here
|
388 |
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] |
392 |
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] |
389 |
</td> |
393 |
</td> |
390 |
[% END %] |
394 |
[% END %] |
|
|
395 |
<td></td> |
391 |
</tr> |
396 |
</tr> |
392 |
[% END # / FOREACH ISSUE %] |
397 |
[% END # / FOREACH ISSUE %] |
393 |
</tbody> |
398 |
</tbody> |
Lines 518-532
Link Here
|
518 |
$(document).ready(function() { |
523 |
$(document).ready(function() { |
519 |
dofocus(); |
524 |
dofocus(); |
520 |
[% IF ( patronid ) %]sco_init();[% END %] |
525 |
[% IF ( patronid ) %]sco_init();[% END %] |
521 |
$("#loanTable").dataTable($.extend(true, {}, dataTablesDefaults, { |
526 |
|
522 |
"dom": "t", |
527 |
var dTables = $("#loanTable, #holdst, #finestable"); |
523 |
"order": [ 0 ], |
528 |
dTables.each(function(){ |
524 |
"columnDefs": [ |
529 |
var thIndex = $(this).find("th.psort").index(); |
525 |
{ "targets": [ "nosort" ], "sortable": false, "searchable": false }, |
530 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
526 |
{ "targets": [ "noshow" ], "visible": false, "searchable": false }, |
531 |
"sorting" : [[ thIndex, 'asc' ]], |
527 |
{ "type": "anti-the", "targets" : [ "anti-the" ] } |
532 |
"dom": '<"top"<"table_entries"><"table_controls"fB>>t', |
528 |
] |
533 |
"columnDefs": [ |
529 |
})); |
534 |
{ "targets": [ "nosort" ],"sortable": false,"searchable": false }, |
|
|
535 |
{ "targets": [ "noshow" ], "visible": false, "searchable": false }, |
536 |
{ "type": "anti-the", "targets" : [ "anti-the" ] }, |
537 |
{ "visible": false, "targets" : [ "hidden" ] }, |
538 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 } |
539 |
], |
540 |
"language": { |
541 |
"search": "_INPUT_", |
542 |
"searchPlaceholder": _("Search") |
543 |
}, |
544 |
"autoWidth": false, |
545 |
"responsive": { |
546 |
details: { |
547 |
type: 'column', |
548 |
target: -1 |
549 |
} |
550 |
} |
551 |
})); |
552 |
}); |
553 |
|
554 |
$('a[data-toggle="tab"]').on('shown.bs.tab', function (event) { |
555 |
dTables.DataTable().responsive.recalc(); |
556 |
dataTables.DataTable().responsive.recalc(); |
557 |
} ); |
530 |
|
558 |
|
531 |
$("#logout_form").on("click", function(e){ |
559 |
$("#logout_form").on("click", function(e){ |
532 |
e.preventDefault(e); |
560 |
e.preventDefault(e); |
533 |
- |
|
|