Lines 19-25
Link Here
|
19 |
</thead> |
19 |
</thead> |
20 |
<tbody> |
20 |
<tbody> |
21 |
[% FOREACH restriction IN patron.restrictions %] |
21 |
[% FOREACH restriction IN patron.restrictions %] |
22 |
<tr> |
22 |
[% SET restriction_tr_class = restriction.is_expired ? "text-muted" : "" %] |
|
|
23 |
<tr class="[% restriction_tr_class | html %]"> |
23 |
<td> |
24 |
<td> |
24 |
[% PROCESS restriction_type_description restriction_type=restriction.type %] |
25 |
[% PROCESS restriction_type_description restriction_type=restriction.type %] |
25 |
</td> |
26 |
</td> |
Lines 30-36
Link Here
|
30 |
[% restriction.comment | $raw %] |
31 |
[% restriction.comment | $raw %] |
31 |
[% END %] |
32 |
[% END %] |
32 |
</td> |
33 |
</td> |
33 |
<td>[% IF restriction.expiration %] [% restriction.expiration | $KohaDates %] [% ELSE %] <em>Indefinite</em> [% END %]</td> |
34 |
<td> |
|
|
35 |
[% IF restriction.expiration %] |
36 |
[% restriction.expiration | $KohaDates %] |
37 |
[% IF restriction.is_expired %]<span>(expired)</span>[% END %] |
38 |
[% ELSE %] |
39 |
<em>Indefinite</em> |
40 |
[% END %] |
41 |
</td> |
34 |
<td>[% restriction.created | $KohaDates %]</td> |
42 |
<td>[% restriction.created | $KohaDates %]</td> |
35 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
43 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
36 |
<td> |
44 |
<td> |
37 |
- |
|
|