|
Lines 175-197
Link Here
|
| 175 |
Restriction added by overdues process [% borrower.debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] |
175 |
Restriction added by overdues process [% borrower.debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] |
| 176 |
[% ELSE %] |
176 |
[% ELSE %] |
| 177 |
[% FOR restriction IN logged_in_user.restrictions %] |
177 |
[% FOR restriction IN logged_in_user.restrictions %] |
| 178 |
[% IF restriction.comment %] |
178 |
<div class="patron_restriction"> |
| 179 |
[% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %], frozen until: |
179 |
[%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: <span class="restriction_comment">[% restriction.comment | html_line_break %]</span>, frozen until: |
| 180 |
[% IF restriction.expiration %] |
180 |
<span class="restriction_expiration"> |
| 181 |
[% restriction.expiration | $KohaDates %] |
181 |
[%- IF restriction.expiration -%] |
| 182 |
[% ELSE %] |
182 |
[%- restriction.expiration | $KohaDates -%] |
|
|
183 |
[%- ELSE -%] |
| 183 |
<strong>Indefinite</strong> |
184 |
<strong>Indefinite</strong> |
| 184 |
[% END %] |
185 |
[%- END -%] |
| 185 |
<br /> |
186 |
</span> |
| 186 |
[% ELSE %] |
|
|
| 187 |
[% restriction.type.display_text | html %], frozen until: |
| 188 |
[% IF restriction.expiration %] |
| 189 |
[% restriction.expiration | $KohaDates %] |
| 190 |
[% ELSE %] |
| 191 |
<strong>Indefinite</strong> |
| 192 |
[% END %] |
| 193 |
<br /> |
| 194 |
[% END %] |
187 |
[% END %] |
|
|
188 |
</div> |
| 195 |
[% END %] |
189 |
[% END %] |
| 196 |
[% END %] |
190 |
[% END %] |
| 197 |
</strong> |
191 |
</strong> |
| 198 |
- |
|
|