Lines 1-5
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% USE KohaDates %] |
2 |
[% USE KohaDates %] |
|
|
3 |
[% USE EncodeUTF8 %] |
3 |
|
4 |
|
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your library home |
6 |
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your library home |
Lines 104-109
Link Here
|
104 |
<div id="opac-user-views" class="toptabs"> |
105 |
<div id="opac-user-views" class="toptabs"> |
105 |
<ul> |
106 |
<ul> |
106 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
107 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
|
|
108 |
[% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %] |
107 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
109 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
108 |
[% IF ( OPACFinesTab ) %] |
110 |
[% IF ( OPACFinesTab ) %] |
109 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
111 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
Lines 132-138
Link Here
|
132 |
[% IF ( show_barcode ) %] |
134 |
[% IF ( show_barcode ) %] |
133 |
<th>Barcode</th> |
135 |
<th>Barcode</th> |
134 |
[% END %] |
136 |
[% END %] |
135 |
<th>Call No.</th> |
137 |
<th>Call number</th> |
136 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
138 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
137 |
<th class="nosort">Renew</th> |
139 |
<th class="nosort">Renew</th> |
138 |
[% END %] |
140 |
[% END %] |
Lines 361-366
Link Here
|
361 |
</div> <!-- /#opac-user-waiting --> |
363 |
</div> <!-- /#opac-user-waiting --> |
362 |
[% END # waiting_count && atdestination %] |
364 |
[% END # waiting_count && atdestination %] |
363 |
|
365 |
|
|
|
366 |
[% IF relatives %] |
367 |
<div id="opac-user-relative-issues"> |
368 |
<table id="opac-user-relative-issues-table" class="table table-bordered table-striped"> |
369 |
<thead> |
370 |
<tr> |
371 |
<th class="anti-the">Title</th> |
372 |
<th>Due</th> |
373 |
<th>Barcode</th> |
374 |
<th>Call number</th> |
375 |
<th class="psort">Relative</th> |
376 |
</tr> |
377 |
</thead> |
378 |
|
379 |
<tbody> |
380 |
[% FOREACH r IN relatives %] |
381 |
[% FOREACH i IN r.issues %] |
382 |
<tr> |
383 |
<td> |
384 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.item.biblio.biblionumber %]"> |
385 |
[% i.item.biblio.title | $EncodeUTF8 %] |
386 |
</a> |
387 |
</td> |
388 |
|
389 |
<td> |
390 |
[% i.date_due | $KohaDates %] |
391 |
</td> |
392 |
|
393 |
<td> |
394 |
[% i.item.barcode %] |
395 |
</td> |
396 |
|
397 |
<td> |
398 |
[% i.item.itemcallnumber | $EncodeUTF8 %] |
399 |
</td> |
400 |
|
401 |
<td> |
402 |
[% r.firstname | $EncodeUTF8 %] [% r.surname | $EncodeUTF8 %] |
403 |
</td> |
404 |
</tr> |
405 |
[% END %] |
406 |
[% END %] |
407 |
</tbody> |
408 |
</table> |
409 |
</div> |
410 |
[% END %] |
364 |
|
411 |
|
365 |
[% IF ( overdues_count ) %] |
412 |
[% IF ( overdues_count ) %] |
366 |
<div id="opac-user-overdues"> |
413 |
<div id="opac-user-overdues"> |
Lines 373-379
Link Here
|
373 |
<th class="anti-the">Title</th> |
420 |
<th class="anti-the">Title</th> |
374 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
421 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
375 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
422 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
376 |
<th>Call no.</th> |
423 |
<th>Call number</th> |
377 |
<th class="title-string psort">Due</th> |
424 |
<th class="title-string psort">Due</th> |
378 |
[% IF ( OpacRenewalAllowed ) %] |
425 |
[% IF ( OpacRenewalAllowed ) %] |
379 |
<th class="nosort">Renew</th> |
426 |
<th class="nosort">Renew</th> |
Lines 682-688
Link Here
|
682 |
$(".js-hide").hide(); |
729 |
$(".js-hide").hide(); |
683 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
730 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
684 |
$(".suspend-until").prop("readonly",1); |
731 |
$(".suspend-until").prop("readonly",1); |
685 |
var dTables = $("#checkoutst,#holdst,#overduest"); |
732 |
|
|
|
733 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
686 |
dTables.each(function(){ |
734 |
dTables.each(function(){ |
687 |
var thIndex = $(this).find("th.psort").index(); |
735 |
var thIndex = $(this).find("th.psort").index(); |
688 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
736 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |