Lines 1-4
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
|
|
2 |
[% USE Koha %] |
2 |
<div id="reldebarments"> |
3 |
<div id="reldebarments"> |
3 |
[% IF ( not debarments.defined || debarments.size < 1 ) %] |
4 |
[% IF ( not debarments.defined || debarments.size < 1 ) %] |
4 |
<p>Patron is currently unrestricted.</p> |
5 |
<p>Patron is currently unrestricted.</p> |
Lines 51-56
Link Here
|
51 |
<fieldset class="rows" id="manual_restriction_form"> |
52 |
<fieldset class="rows" id="manual_restriction_form"> |
52 |
<legend>Add manual restriction</legend> |
53 |
<legend>Add manual restriction</legend> |
53 |
<ol> |
54 |
<ol> |
|
|
55 |
[% IF Koha.Preference('PatronRestrictionTypes') %] |
56 |
<li> |
57 |
<label for="debarred_type">Type:</label> |
58 |
<select name="debarred_type"> |
59 |
[% FOREACH code IN restriction_types.keys %] |
60 |
<option value="[% code | html %]">[% restriction_types.$code.display_text | html %]</option> |
61 |
[% END %] |
62 |
</select> |
63 |
</li> |
64 |
[% END %] |
54 |
<li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li> |
65 |
<li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li> |
55 |
<li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="10" value="" class="datepicker" type="text" /> |
66 |
<li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="10" value="" class="datepicker" type="text" /> |
56 |
<a href="#" class="clear-date" id="clear-date-rexpiration">Clear date</a></li> |
67 |
<a href="#" class="clear-date" id="clear-date-rexpiration">Clear date</a></li> |