Lines 66-73
Link Here
|
66 |
<td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> |
66 |
<td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> |
67 |
[% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] |
67 |
[% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] |
68 |
<td> |
68 |
<td> |
69 |
<a class="remove_restriction" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&borrower_debarment_id=[% d.borrower_debarment_id %]&action=del"> |
69 |
<a class="remove_restriction btn btn-mini" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&borrower_debarment_id=[% d.borrower_debarment_id %]&action=del"> |
70 |
Remove |
70 |
<i class="fa fa-trash"></i> Remove |
71 |
</a> |
71 |
</a> |
72 |
</td> |
72 |
</td> |
73 |
[% END %] |
73 |
[% END %] |
Lines 77-88
Link Here
|
77 |
</table> |
77 |
</table> |
78 |
[% END %] |
78 |
[% END %] |
79 |
[% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] |
79 |
[% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] |
80 |
<p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> |
80 |
<p><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p> |
81 |
<form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix"> |
81 |
<form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix"> |
82 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
82 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
83 |
<input type="hidden" name="action" value="add" /> |
83 |
<input type="hidden" name="action" value="add" /> |
84 |
<fieldset class="rows" id="manual_restriction_form"> |
84 |
<fieldset class="rows" id="manual_restriction_form"> |
85 |
<legend>Add manual restriction</legend> |
85 |
<legend><i class="fa fa-ban"></i> Add manual restriction</legend> |
86 |
<ol> |
86 |
<ol> |
87 |
<li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li> |
87 |
<li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li> |
88 |
<li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="10" readonly="readonly" value="" class="datepicker" /> |
88 |
<li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="10" readonly="readonly" value="" class="datepicker" /> |