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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-5 / +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_line_break -%][%- 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/>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-16 / +10 lines)
Lines 54-76 Link Here
54
                                                Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %]
54
                                                Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %]
55
                                            [% ELSE %]
55
                                            [% ELSE %]
56
                                                [% FOR restriction IN logged_in_user.restrictions %]
56
                                                [% FOR restriction IN logged_in_user.restrictions %]
57
                                                    [% IF restriction.comment %]
57
                                                    <div class="patron_restriction">
58
                                                        [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %], frozen until:
58
                                                        [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: <span class="restriction_comment">[% restriction.comment | html_line_break %]</span>, frozen until:
59
                                                            [% IF restriction.expiration %]
59
                                                        <span class="restriction_expiration">
60
                                                                [% restriction.expiration | $KohaDates %]
60
                                                        [%- IF restriction.expiration -%]
61
                                                            [% ELSE %]
61
                                                            [%- restriction.expiration | $KohaDates -%]
62
                                                                <strong>Indefinite</strong>
62
                                                        [%- ELSE -%]
63
                                                            [% END %]
63
                                                            <strong>Indefinite</strong>
64
                                                        <br />
64
                                                        [%- END -%]
65
                                                    [% ELSE %]
65
                                                        </span>
66
                                                        [% restriction.type.display_text | html %], frozen until:
67
                                                            [% IF restriction.expiration %]
68
                                                                [% restriction.expiration | $KohaDates %]
69
                                                            [% ELSE %]
70
                                                                <strong>Indefinite</strong>
71
                                                            [% END %]
72
                                                        <br />
73
                                                    [% END %]
66
                                                    [% END %]
67
                                                    </div>
74
                                                [% END %]
68
                                                [% END %]
75
                                            [% END %]
69
                                            [% END %]
76
                                        </strong>
70
                                        </strong>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-16 / +9 lines)
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
- 

Return to bug 31097