|
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 365-370
Link Here
|
| 365 |
</div> <!-- /#opac-user-waiting --> |
367 |
</div> <!-- /#opac-user-waiting --> |
| 366 |
[% END # waiting_count && atdestination %] |
368 |
[% END # waiting_count && atdestination %] |
| 367 |
|
369 |
|
|
|
370 |
[% IF relatives %] |
| 371 |
<div id="opac-user-relative-issues"> |
| 372 |
<table id="opac-user-relative-issues-table" class="table table-bordered table-striped"> |
| 373 |
<thead> |
| 374 |
<tr> |
| 375 |
<th class="anti-the">Title</th> |
| 376 |
<th>Due</th> |
| 377 |
<th>Barcode</th> |
| 378 |
<th>Call number</th> |
| 379 |
<th class="psort">Relative</th> |
| 380 |
</tr> |
| 381 |
</thead> |
| 382 |
|
| 383 |
<tbody> |
| 384 |
[% FOREACH r IN relatives %] |
| 385 |
[% FOREACH i IN r.issues %] |
| 386 |
<tr> |
| 387 |
<td> |
| 388 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.item.biblio.biblionumber %]"> |
| 389 |
[% i.item.biblio.title | $EncodeUTF8 %] |
| 390 |
</a> |
| 391 |
</td> |
| 392 |
|
| 393 |
<td> |
| 394 |
[% i.date_due | $KohaDates %] |
| 395 |
</td> |
| 396 |
|
| 397 |
<td> |
| 398 |
[% i.item.barcode %] |
| 399 |
</td> |
| 400 |
|
| 401 |
<td> |
| 402 |
[% i.item.itemcallnumber | $EncodeUTF8 %] |
| 403 |
</td> |
| 404 |
|
| 405 |
<td> |
| 406 |
[% r.firstname | $EncodeUTF8 %] [% r.surname | $EncodeUTF8 %] |
| 407 |
</td> |
| 408 |
</tr> |
| 409 |
[% END %] |
| 410 |
[% END %] |
| 411 |
</tbody> |
| 412 |
</table> |
| 413 |
</div> |
| 414 |
[% END %] |
| 368 |
|
415 |
|
| 369 |
[% IF ( overdues_count ) %] |
416 |
[% IF ( overdues_count ) %] |
| 370 |
<div id="opac-user-overdues"> |
417 |
<div id="opac-user-overdues"> |
|
Lines 377-383
Link Here
|
| 377 |
<th class="anti-the">Title</th> |
424 |
<th class="anti-the">Title</th> |
| 378 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
425 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
| 379 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
426 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
| 380 |
<th>Call no.</th> |
427 |
<th>Call number</th> |
| 381 |
<th class="title-string psort">Due</th> |
428 |
<th class="title-string psort">Due</th> |
| 382 |
[% IF ( OpacRenewalAllowed ) %] |
429 |
[% IF ( OpacRenewalAllowed ) %] |
| 383 |
<th class="nosort">Renew</th> |
430 |
<th class="nosort">Renew</th> |
|
Lines 686-692
Link Here
|
| 686 |
$(".js-hide").hide(); |
733 |
$(".js-hide").hide(); |
| 687 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
734 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
| 688 |
$(".suspend-until").prop("readonly",1); |
735 |
$(".suspend-until").prop("readonly",1); |
| 689 |
var dTables = $("#checkoutst,#holdst,#overduest"); |
736 |
|
|
|
737 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
| 690 |
dTables.each(function(){ |
738 |
dTables.each(function(){ |
| 691 |
var thIndex = $(this).find("th.psort").index(); |
739 |
var thIndex = $(this).find("th.psort").index(); |
| 692 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
740 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |