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 |
[% IF restriction.is_expired %]<tr class="expired">[% ELSE %]<tr>[% END %] |
23 |
<td> |
23 |
<td> |
24 |
[% PROCESS restriction_type_description restriction_type=restriction.type %] |
24 |
[% PROCESS restriction_type_description restriction_type=restriction.type %] |
25 |
</td> |
25 |
</td> |
Lines 30-36
Link Here
|
30 |
[% restriction.comment | $raw %] |
30 |
[% restriction.comment | $raw %] |
31 |
[% END %] |
31 |
[% END %] |
32 |
</td> |
32 |
</td> |
33 |
<td>[% IF restriction.expiration %] [% restriction.expiration | $KohaDates %] [% ELSE %] <em>Indefinite</em> [% END %]</td> |
33 |
<td> |
|
|
34 |
[% IF restriction.expiration %] |
35 |
[% restriction.expiration | $KohaDates %] |
36 |
[% IF restriction.is_expired %](<span>expired</span>)[% END %] |
37 |
[% ELSE %] |
38 |
<em>Indefinite</em> |
39 |
[% END %] |
40 |
</td> |
34 |
<td>[% restriction.created | $KohaDates %]</td> |
41 |
<td>[% restriction.created | $KohaDates %]</td> |
35 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
42 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
36 |
<td> |
43 |
<td> |
37 |
- |
|
|