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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-8 / +15 lines)
Lines 42-57 Link Here
42
                        [% IF ( debarred ) %]
42
                        [% IF ( debarred ) %]
43
                            <li id="debarred">
43
                            <li id="debarred">
44
                                Your account has been frozen.
44
                                Your account has been frozen.
45
                                [% IF debarred_comment %] Comment: <span id="userdebarred_comment">"
45
                                [% IF debarred_comment %]
46
				    [% IF debarred_comment.search('OVERDUES_PROCESS') %]
46
                                    Comment:
47
                                         Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %]
47
                                    <span id="userdebarred_comment">
48
                                    [% ELSE %]
48
                                        <strong>
49
                                         [% debarred_comment | html_line_break %]
49
                                            [% IF debarred_comment.search('OVERDUES_PROCESS') %]
50
                                                Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %]
51
                                            [% ELSE %]
52
                                                [% debarred_comment | html_line_break %]
53
                                            [% END %]
54
                                        </strong>
55
                                    </span>
50
                                [% END %]
56
                                [% END %]
51
			        </span>
52
			[% END %]
53
57
54
                                [% IF debarred_date && debarred_date != '9999-12-31' %] End date: <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span>[% END %]
58
                                [% IF debarred_date && debarred_date != '9999-12-31' %]
59
                                    End date:
60
                                    <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span>
61
                                [% END %]
55
                                <br /><em>Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a>
62
                                <br /><em>Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a>
56
                            </li>
63
                            </li>
57
                        [% END %]
64
                        [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +12 lines)
Lines 98-105 Link Here
98
                                        </li>
98
                                        </li>
99
                                    [% ELSE %]
99
                                    [% ELSE %]
100
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
100
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
101
                                        [% IF ( BORROWER_INFO.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %]
101
                                        [% IF ( BORROWER_INFO.debarredcomment ) %]
102
                                        [% IF ( BORROWER_INFO.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %]
102
                                            Comment:
103
                                            <span id="userdebarred_comment">
104
                                                <strong>
105
                                                    [% BORROWER_INFO.debarredcomment %]
106
                                                </strong>
107
                                            </span>
108
                                        [% END %]
109
                                        [% IF ( BORROWER_INFO.userdebarreddate && debarred_date != '9999-12-31' ) %]
110
                                            End date:
111
                                            <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>
112
                                        [% END %]
103
                                        <em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></li>
113
                                        <em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></li>
104
                                    [% END %]
114
                                    [% END %]
105
                                [% END %]
115
                                [% END %]
106
- 

Return to bug 19849