Bug 31097: (follow-up) Standardize appearance of colon between restriction type and comments

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2024-05-08 15:31:55 +00:00 committed by Katrin Fischer
parent 0967c18adb
commit 1966938c6f
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -173,11 +173,11 @@
<ul id="userdebarred_comment">
[% FOREACH restriction IN logged_in_user.restrictions %]
<li class="patron_restriction">
<strong>[%- restriction.type.display_text | html -%]</strong>
<strong>[%- restriction.type.display_text | html -%]: </strong>
[% IF restriction.comment.search('OVERDUES_PROCESS') %]
Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | html_line_break %]
[% ELSE %]
[%- IF restriction.comment -%]:
[%- IF restriction.comment -%]
<span class="restriction_comment">[% restriction.comment | html_line_break %]</span>.
[%- END -%]
[% END %]