@@ -, +, @@ --- .../prog/en/includes/patron_messages.inc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc @@ -71,16 +71,18 @@ Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] [% ELSE %] [% FOREACH restriction IN patron.restrictions %] +
+ [% IF restriction.expiration %] [% restriction.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %] - [% IF restriction.comment %] - [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %]
- [% ELSE %] - [% restriction.type.display_text | html %]
- [% END %] +
+ + [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html -%][%- END -%] + +
[% END %] [% END %]
--