[% IF ( BORROWER_INF.warnexpired ) %]
<div class="dialog alert" id="warnexpired">
- <strong>Please note:</strong><span> Your card has expired. Please contact the library for more information.</span>
+ <strong>Please note:</strong><span> Your account has expired. Please contact the library for more information.</span>
</div>
[% ELSIF ( BORROWER_INF.warnexpired ) %]
<div class="dialog alert">
- <string>Please note:</string><span> You card has expired as of [% BORROWER_INF.warnexpired %]. Please contact the library if you wish to renew your subscription.</span>
+ <strong>Please note:</strong><span> You account has expired as of [% BORROWER_INF.warnexpired %]. Please contact the library if you wish to renew your account.</span>
</div>
[% END %]
[% IF ( RENEW_ERROR ) %]
<div class="dialog alert">
- <string>Please note:</string><span> You're renew failed with the following error: [% RENEW_ERROR %]</span>
+ <string>Please note:</string>
+ <span>
+ Your account renewal failed because of the following:
+ [% FOREACH error IN RENEW_ERROR.split('|') %]
+ [% IF error == 'card_expired' %]
+ Your account has expired. Please contact the library for more information.
+ [% ELSIF error == 'too_many' %]
+ You have renewed this item the maximum number of times allowed.
+ [% ELSIF error == 'on_reserve' %]
+ This item is on hold for another patron.
+ [% END %]
+ [% END %]
+ </span>
</div>
[% END %]