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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-1 / +10 lines)
Lines 70-77 Link Here
70
                        [% IF debarredcomment.search('OVERDUES_PROCESS') %]
70
                        [% IF debarredcomment.search('OVERDUES_PROCESS') %]
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
                            [% FOR restriction IN patron.restrictions %]
73
                            [% FOREACH restriction IN patron.restrictions %]
74
                                [% IF restriction.expiration %]
75
                                    [% restriction.expiration | $KohaDates %]
76
                                [% ELSE %]
77
                                    <strong>Indefinite</strong>
78
                                [% END %]
79
                                [% IF restriction.comment %]
74
                                [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %]<br />
80
                                [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %]<br />
81
                                [% ELSE %]
82
                                [% restriction.type.display_text | html %]<br />
83
                                [% END %]
75
                            [% END %]
84
                            [% END %]
76
                        [% END %]
85
                        [% END %]
77
                    </em><br/>
86
                    </em><br/>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +20 lines)
Lines 47-59 Link Here
47
                            <li id="debarred">
47
                            <li id="debarred">
48
                                Your account has been frozen.
48
                                Your account has been frozen.
49
                                [% IF debarred_comment %]
49
                                [% IF debarred_comment %]
50
                                    Comment:
50
                                    Comment:<br />
51
                                    <span id="userdebarred_comment">
51
                                    <span id="userdebarred_comment">
52
                                        <strong>
52
                                        <strong>
53
                                            [% IF debarred_comment.search('OVERDUES_PROCESS') %]
53
                                            [% IF debarred_comment.search('OVERDUES_PROCESS') %]
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
                                                [% debarred_comment | html_line_break %]
56
                                                [% FOR restriction IN logged_in_user.restrictions %]
57
                                                    [% IF restriction.comment %]
58
                                                        [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %], frozen until:
59
                                                            [% IF restriction.expiration %]
60
                                                                [% restriction.expiration | $KohaDates %]
61
                                                            [% ELSE %]
62
                                                                <strong>Indefinite</strong>
63
                                                            [% END %]
64
                                                        <br />
65
                                                    [% ELSE %]
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 %]
74
                                                [% END %]
57
                                            [% END %]
75
                                            [% END %]
58
                                        </strong>
76
                                        </strong>
59
                                    </span>
77
                                    </span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +20 lines)
Lines 168-180 Link Here
168
                                    [% ELSE %]
168
                                    [% ELSE %]
169
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
169
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
170
                                        [% IF ( borrower.debarredcomment ) %]
170
                                        [% IF ( borrower.debarredcomment ) %]
171
                                            Comment:
171
                                            Comment:<br />
172
                                            <span id="userdebarred_comment">
172
                                            <span id="userdebarred_comment">
173
                                                <strong>
173
                                                <strong>
174
                                                    [% IF borrower.debarredcomment.search('OVERDUES_PROCESS') %]
174
                                                    [% IF borrower.debarredcomment.search('OVERDUES_PROCESS') %]
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
                                                        [% borrower.debarredcomment | html_line_break %]
177
                                                        [% FOR restriction IN logged_in_user.restrictions %]
178
                                                            [% IF restriction.comment %]
179
                                                                [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %], frozen until:
180
                                                                [% IF restriction.expiration %]
181
                                                                    [% restriction.expiration | $KohaDates %]
182
                                                                [% ELSE %]
183
                                                                    <strong>Indefinite</strong>
184
                                                                [% END %]
185
                                                                <br />
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 %]
195
                                                        [% END %]
178
                                                    [% END %]
196
                                                    [% END %]
179
                                                </strong>
197
                                                </strong>
180
                                            </span>
198
                                            </span>
181
- 

Return to bug 31097