|
Lines 167-202
Link Here
|
| 167 |
[% IF ( discharge_available ) %] |
167 |
[% IF ( discharge_available ) %] |
| 168 |
<li id="discharged"> <strong>Please note:</strong> Your account is frozen because it has been discharged. <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a> </li> |
168 |
<li id="discharged"> <strong>Please note:</strong> Your account is frozen because it has been discharged. <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a> </li> |
| 169 |
[% ELSE %] |
169 |
[% ELSE %] |
| 170 |
<li id="userdebarred"> |
170 |
[% INCLUDE "patron-restrictions.inc" %] |
| 171 |
<strong>Please note:</strong> Your account has been frozen. |
|
|
| 172 |
[% IF ( borrower.debarredcomment ) %] |
| 173 |
Comment:<br /> |
| 174 |
<ul id="userdebarred_comment"> |
| 175 |
[% FOREACH restriction IN logged_in_user.restrictions %] |
| 176 |
<li class="patron_restriction"> |
| 177 |
<strong>[%- restriction.type.display_text | html -%]: </strong> |
| 178 |
[% IF restriction.comment.search('OVERDUES_PROCESS') %] |
| 179 |
Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | html_line_break %] |
| 180 |
[% ELSE %] |
| 181 |
[%- IF restriction.comment -%] |
| 182 |
<span class="restriction_comment">[% restriction.comment | html_line_break %]</span>. |
| 183 |
[%- END -%] |
| 184 |
[% END %] |
| 185 |
[%- IF restriction.expiration -%] |
| 186 |
Account frozen until <span class="restriction_expiration">[%- restriction.expiration | $KohaDates -%]</span> |
| 187 |
[%- ELSE -%] |
| 188 |
<strong>Account frozen indefinitely</strong> |
| 189 |
[%- END -%] |
| 190 |
</li> |
| 191 |
[% END %] |
| 192 |
</ul> |
| 193 |
[% END %] |
| 194 |
|
| 195 |
<p |
| 196 |
><em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> |
| 197 |
<a href="/cgi-bin/koha/opac-account.pl">Go to your charges page</a></p |
| 198 |
> |
| 199 |
</li> |
| 200 |
[% END %] |
171 |
[% END %] |
| 201 |
[% END %] |
172 |
[% END %] |
| 202 |
[% IF ( borrower.gonenoaddress ) %] |
173 |
[% IF ( borrower.gonenoaddress ) %] |
|
Lines 1093-1100
Link Here
|
| 1093 |
$(document).ready(function(){ |
1064 |
$(document).ready(function(){ |
| 1094 |
[% IF ( opac_user_holds ) %] |
1065 |
[% IF ( opac_user_holds ) %] |
| 1095 |
$("#opac-user-views a[href='#opac-user-holds_panel']").tab("show"); |
1066 |
$("#opac-user-views a[href='#opac-user-holds_panel']").tab("show"); |
| 1096 |
[% END %] |
1067 |
[% ELSIF ( opac_user_overdues ) %] |
| 1097 |
[% IF ( opac_user_article_requests ) %] |
1068 |
$("#opac-user-views a[href='#opac-user-overdues_panel']").tab("show"); |
|
|
1069 |
[% ELSIF ( opac_user_article_requests ) %] |
| 1098 |
$("#opac-user-views a[href='#opac-user-article-requests_panel']").tab("show"); |
1070 |
$("#opac-user-views a[href='#opac-user-article-requests_panel']").tab("show"); |
| 1099 |
[% END %] |
1071 |
[% END %] |
| 1100 |
$('#article-requests-table caption .count').html(AR_CAPTION_COUNT.format('[% current_article_requests.size | html %]')); |
1072 |
$('#article-requests-table caption .count').html(AR_CAPTION_COUNT.format('[% current_article_requests.size | html %]')); |