View | Details | Raw Unified | Return to bug 31097
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-6 / +7 lines)
Lines 71-86 Link Here
71
                            Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %]
71
                            Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %]
72
                        [% ELSE %]
72
                        [% ELSE %]
73
                            [% FOREACH restriction IN patron.restrictions %]
73
                            [% FOREACH restriction IN patron.restrictions %]
74
                                <div class="[% restriction.type.code | lower | html %]_restriction">
75
                                <span class="restriction_expiration">
74
                                [% IF restriction.expiration %]
76
                                [% IF restriction.expiration %]
75
                                    [% restriction.expiration | $KohaDates %]
77
                                    [% restriction.expiration | $KohaDates %]
76
                                [% ELSE %]
78
                                [% ELSE %]
77
                                    <strong>Indefinite</strong>
79
                                    <strong>Indefinite</strong>
78
                                [% END %]
80
                                [% END %]
79
                                [% IF restriction.comment %]
81
                                </span>
80
                                [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %]<br />
82
                                <span class="restriction_detail">
81
                                [% ELSE %]
83
                                [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html -%][%- END -%]
82
                                [% restriction.type.display_text | html %]<br />
84
                                </span>
83
                                [% END %]
85
                                </div>
84
                            [% END %]
86
                            [% END %]
85
                        [% END %]
87
                        [% END %]
86
                    </em><br/>
88
                    </em><br/>
87
- 

Return to bug 31097