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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (-1 / +1 lines)
Lines 51-57 Link Here
51
                                    Discharge
51
                                    Discharge
52
                            [% END %]
52
                            [% END %]
53
                        </td>
53
                        </td>
54
                        <td>[% d.comment %]</td>
54
                        <td>[% d.comment.raw %]</td>
55
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
55
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
56
                        [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
56
                        [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
57
                            <td>
57
                            <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-3 / +3 lines)
Lines 763-769 No patron matched <span class="ex">[% message %]</span> Link Here
763
                   [% END %]
763
                   [% END %]
764
764
765
                   [% IF ( debarredcomment ) %]
765
                   [% IF ( debarredcomment ) %]
766
                       with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
766
                       with the explanation: <br/><i>[% debarredcomment.raw | html_line_break %]</i>
767
                   [% END %]
767
                   [% END %]
768
768
769
                   <br/>
769
                   <br/>
Lines 838-844 No patron matched <span class="ex">[% message %]</span> Link Here
838
					<span class="circ-hlt">
838
					<span class="circ-hlt">
839
						[% lib_messages_loo.message_date_formatted %]
839
						[% lib_messages_loo.message_date_formatted %]
840
						[% lib_messages_loo.branchcode %]
840
						[% lib_messages_loo.branchcode %]
841
						<i>"[% lib_messages_loo.message %]"</i>
841
                        <i>"[% lib_messages_loo.message.raw %]"</i>
842
					</span>
842
					</span>
843
					[% IF ( lib_messages_loo.can_delete ) %]
843
					[% IF ( lib_messages_loo.can_delete ) %]
844
						<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&amp;borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
844
						<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&amp;borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
Lines 850-856 No patron matched <span class="ex">[% message %]</span> Link Here
850
				</li>
850
				</li>
851
			[% END %]
851
			[% END %]
852
			[% FOREACH bor_messages_loo IN bor_messages_loop %]
852
			[% FOREACH bor_messages_loo IN bor_messages_loop %]
853
				<li><span class="">[% bor_messages_loo.message_date_formatted %] [% bor_messages_loo.branchcode %] <i>"[% bor_messages_loo.message %]"</i></span> [% IF ( bor_messages_loo.can_delete ) %]<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&amp;borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
853
                <li><span class="">[% bor_messages_loo.message_date_formatted %] [% bor_messages_loo.branchcode %] <i>"[% bor_messages_loo.message.raw %]"</i></span> [% IF ( bor_messages_loo.can_delete ) %]<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&amp;borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
854
                [% ELSIF ( all_messages_del ) %]
854
                [% ELSIF ( all_messages_del ) %]
855
                    <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&amp;borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
855
                    <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&amp;borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
856
                [% END %]</li>
856
                [% END %]</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +1 lines)
Lines 982-988 Link Here
982
                            [% FOREACH d IN debarments %]
982
                            [% FOREACH d IN debarments %]
983
                                <tr>
983
                                <tr>
984
                                    <td>[% d.type %]</td>
984
                                    <td>[% d.type %]</td>
985
                                    <td>[% d.comment %]</td>
985
                                    <td>[% d.comment.raw %]</td>
986
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
986
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
987
                                    [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
987
                                    [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
988
                                      <td>
988
                                      <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +1 lines)
Lines 179-185 function validate1(date) { Link Here
179
               [% END %]
179
               [% END %]
180
180
181
               [% IF ( debarredcomment ) %]
181
               [% IF ( debarredcomment ) %]
182
                   with the explanation: <i>[% debarredcomment | html_line_break %]</i>
182
                   with the explanation: <i>[% debarredcomment.raw | html_line_break %]</i>
183
               [% END %]
183
               [% END %]
184
                <a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a>
184
                <a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a>
185
            </li>
185
            </li>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +2 lines)
Lines 31-37 Link Here
31
                                <ul>
31
                                <ul>
32
                                    [% FOREACH bor_messages_loo IN bor_messages_loop %]
32
                                    [% FOREACH bor_messages_loo IN bor_messages_loop %]
33
                                        <li>
33
                                        <li>
34
                                        <strong>[% bor_messages_loo.message %]</strong><br>
34
                                        <strong>[% bor_messages_loo.message.raw %]</strong><br>
35
                                        &nbsp;&nbsp;&nbsp;<i>Written on [% bor_messages_loo.message_date | $KohaDates %] by [% bor_messages_loo.branchname %]</i>
35
                                        &nbsp;&nbsp;&nbsp;<i>Written on [% bor_messages_loo.message_date | $KohaDates %] by [% bor_messages_loo.branchname %]</i>
36
                                        </li>
36
                                        </li>
37
                                    [% END %]
37
                                    [% END %]
Lines 89-95 Link Here
89
                        <div class="alert">
89
                        <div class="alert">
90
                            <ul>
90
                            <ul>
91
                                [% IF ( userdebarred ) %]
91
                                [% IF ( userdebarred ) %]
92
                                    <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen[% IF ( BORROWER_INFO.userdebarreddate ) %] until <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %][% IF ( BORROWER_INFO.debarredcomment ) %] with the comment <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please contact the library.</li>
92
                                    <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen[% IF ( BORROWER_INFO.userdebarreddate ) %] until <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %][% IF ( BORROWER_INFO.debarredcomment ) %] with the comment <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment.raw %]"</span>[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please contact the library.</li>
93
                                [% END %]
93
                                [% END %]
94
                                [% IF ( BORROWER_INFO.gonenoaddress ) %]
94
                                [% IF ( BORROWER_INFO.gonenoaddress ) %]
95
                                    <li id="gonenoaddress"><strong>Please note:</strong> According to our records, we don't have up-to-date [% UNLESS OPACPatronDetails %]<a href="/cgi-bin/koha/opac-userupdate.pl">contact information</a>[% ELSE %]contact information[% END %] on file.  Please contact the library[% IF OPACPatronDetails %] or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)[% END %].</li>
95
                                    <li id="gonenoaddress"><strong>Please note:</strong> According to our records, we don't have up-to-date [% UNLESS OPACPatronDetails %]<a href="/cgi-bin/koha/opac-userupdate.pl">contact information</a>[% ELSE %]contact information[% END %] on file.  Please contact the library[% IF OPACPatronDetails %] or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)[% END %].</li>
96
- 

Return to bug 13618