|
Lines 567-581
Link Here
|
| 567 |
<div id="set-automatic-renewal" class="circ-setting"> |
567 |
<div id="set-automatic-renewal" class="circ-setting"> |
| 568 |
[% IF NEEDSCONFIRMATION %] |
568 |
[% IF NEEDSCONFIRMATION %] |
| 569 |
[% IF auto_renew %] |
569 |
[% IF auto_renew %] |
| 570 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" /> |
570 |
[% IF patron.autorenewal %] |
|
|
571 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" |
| 572 |
title="Patron has opted out of auto-renewal"/> |
| 573 |
[% ELSE %] |
| 574 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" /> |
| 575 |
[% END %] |
| 571 |
[% ELSE %] |
576 |
[% ELSE %] |
| 572 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
577 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
| 573 |
[% END %] |
578 |
[% END %] |
| 574 |
[% ELSE %] |
579 |
[% ELSE %] |
| 575 |
[% IF auto_renew %] |
580 |
[% IF ( auto_renew && patron.autorenewal ) %] |
| 576 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" /> |
581 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" /> |
| 577 |
[% ELSE %] |
582 |
[% ELSIF patron.autorenewal %] |
| 578 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> |
583 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> |
|
|
584 |
[% ELSE %] |
| 585 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" |
| 586 |
title="Patron has opted out of auto-renewal"/> |
| 579 |
[% END %] |
587 |
[% END %] |
| 580 |
[% END %] |
588 |
[% END %] |
| 581 |
|
589 |
|