Lines 12-17
Link Here
|
12 |
[% INCLUDE 'bodytag.inc' bodyid='opac-user' bodyclass='scrollto' %] |
12 |
[% INCLUDE 'bodytag.inc' bodyid='opac-user' bodyclass='scrollto' %] |
13 |
[% INCLUDE 'masthead.inc' %] |
13 |
[% INCLUDE 'masthead.inc' %] |
14 |
|
14 |
|
|
|
15 |
[% SET BlockExpiredPatronOpacActions = borrower.should_block_expired_patron_opac_actions %] |
16 |
[% SET IsExpired = borrower.is_expired %] |
17 |
|
15 |
<div class="main"> |
18 |
<div class="main"> |
16 |
<ul class="breadcrumb"> |
19 |
<ul class="breadcrumb"> |
17 |
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> |
20 |
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> |
Lines 156-162
Using this account is not recommended because some parts of Koha will not functi
Link Here
|
156 |
<th>Barcode</th> |
159 |
<th>Barcode</th> |
157 |
[% END %] |
160 |
[% END %] |
158 |
<th>Call no.</th> |
161 |
<th>Call no.</th> |
159 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
162 |
[% IF ( OpacRenewalAllowed && !( IsExpired && BlockExpiredPatronOpacActions ) ) %] |
160 |
<th class="nosort">Renew</th> |
163 |
<th class="nosort">Renew</th> |
161 |
[% END %] |
164 |
[% END %] |
162 |
[% IF ( OPACFinesTab ) %] |
165 |
[% IF ( OPACFinesTab ) %] |
Lines 245-251
Using this account is not recommended because some parts of Koha will not functi
Link Here
|
245 |
<span class="tdlabel">Call no.:</span> |
248 |
<span class="tdlabel">Call no.:</span> |
246 |
[% ISSUE.itemcallnumber %] |
249 |
[% ISSUE.itemcallnumber %] |
247 |
</td> |
250 |
</td> |
248 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
251 |
[% IF ( OpacRenewalAllowed && !( IsExpired && BlockExpiredPatronOpacActions ) ) %] |
249 |
<td class="renew"> |
252 |
<td class="renew"> |
250 |
[% IF ISSUE.renewed %]<span class="blabel label-success">Renewed!</span><br />[% END %] |
253 |
[% IF ISSUE.renewed %]<span class="blabel label-success">Renewed!</span><br />[% END %] |
251 |
[% IF ( ISSUE.status ) %] |
254 |
[% IF ( ISSUE.status ) %] |
Lines 285-296
Using this account is not recommended because some parts of Koha will not functi
Link Here
|
285 |
[% END # /FOREACH ISSUES %] |
288 |
[% END # /FOREACH ISSUES %] |
286 |
</tbody> |
289 |
</tbody> |
287 |
</table> |
290 |
</table> |
288 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
291 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( IsExpired && BlockExpiredPatronOpacActions ) ) %] |
289 |
<input type="submit" class="btn" value="Renew selected" /> |
292 |
<input type="submit" class="btn" value="Renew selected" /> |
290 |
[% END %] |
293 |
[% END %] |
291 |
</form> |
294 |
</form> |
292 |
|
295 |
|
293 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
296 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( IsExpired && BlockExpiredPatronOpacActions ) ) %] |
294 |
<form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
297 |
<form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
295 |
<input type="hidden" name="from" value="opac_user" /> |
298 |
<input type="hidden" name="from" value="opac_user" /> |
296 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
299 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
Lines 876-882
Using this account is not recommended because some parts of Koha will not functi
Link Here
|
876 |
e.preventDefault(); |
879 |
e.preventDefault(); |
877 |
$("#renewall").submit(); |
880 |
$("#renewall").submit(); |
878 |
}); |
881 |
}); |
879 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
882 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( IsExpired && BlockExpiredPatronOpacActions ) ) %] |
880 |
$("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>"); |
883 |
$("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>"); |
881 |
[% END %] |
884 |
[% END %] |
882 |
[% END %] |
885 |
[% END %] |