Lines 959-967
Link Here
|
959 |
<fieldset class="rows"> |
959 |
<fieldset class="rows"> |
960 |
<legend>Patron restrictions</legend> |
960 |
<legend>Patron restrictions</legend> |
961 |
|
961 |
|
962 |
[% IF ( debarments.size < 1 ) %] |
962 |
[% IF ( debarments ) %] |
963 |
<p>Patron is currently unrestricted.</p> |
|
|
964 |
[% ELSE %] |
965 |
<table> |
963 |
<table> |
966 |
<thead> |
964 |
<thead> |
967 |
<tr> |
965 |
<tr> |
Lines 989-995
Link Here
|
989 |
[% END %] |
987 |
[% END %] |
990 |
</tbody> |
988 |
</tbody> |
991 |
</table> |
989 |
</table> |
|
|
990 |
[% ELSE %] |
991 |
<p>Patron is currently unrestricted.</p> |
992 |
[% END %] |
992 |
[% END %] |
|
|
993 |
|
993 |
[% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] |
994 |
[% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] |
994 |
<p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> |
995 |
<p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> |
995 |
<fieldset id="manual_restriction_form"> |
996 |
<fieldset id="manual_restriction_form"> |
996 |
- |
|
|