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 1094-1101
Link Here
|
1094 |
$(document).ready(function(){ |
1065 |
$(document).ready(function(){ |
1095 |
[% IF ( opac_user_holds ) %] |
1066 |
[% IF ( opac_user_holds ) %] |
1096 |
$("#opac-user-views a[href='#opac-user-holds_panel']").tab("show"); |
1067 |
$("#opac-user-views a[href='#opac-user-holds_panel']").tab("show"); |
1097 |
[% END %] |
1068 |
[% ELSIF ( opac_user_overdues ) %] |
1098 |
[% IF ( opac_user_article_requests ) %] |
1069 |
$("#opac-user-views a[href='#opac-user-overdues_panel']").tab("show"); |
|
|
1070 |
[% ELSIF ( opac_user_article_requests ) %] |
1099 |
$("#opac-user-views a[href='#opac-user-article-requests_panel']").tab("show"); |
1071 |
$("#opac-user-views a[href='#opac-user-article-requests_panel']").tab("show"); |
1100 |
[% END %] |
1072 |
[% END %] |
1101 |
$('#article-requests-table caption .count').html(AR_CAPTION_COUNT.format('[% current_article_requests.size | html %]')); |
1073 |
$('#article-requests-table caption .count').html(AR_CAPTION_COUNT.format('[% current_article_requests.size | html %]')); |