Bugzilla – Attachment 76719 Details for
Bug 19849
Rebase of bug 16621 partially reverted bug 12509
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19849: Minor fixes & refactor of opac-reserve.tt & opac-user.tt
Bug-19849-Minor-fixes--refactor-of-opac-reservett-.patch (text/plain), 5.26 KB, created by
Marcel de Rooy
on 2018-07-06 08:58:20 UTC
(
hide
)
Description:
Bug 19849: Minor fixes & refactor of opac-reserve.tt & opac-user.tt
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-07-06 08:58:20 UTC
Size:
5.26 KB
patch
obsolete
>From ac5bd75b6a9e6bf6f4725dfaae413f4e70bc03f7 Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >Date: Wed, 20 Dec 2017 15:15:49 +0100 >Subject: [PATCH] Bug 19849: Minor fixes & refactor of opac-reserve.tt & > opac-user.tt >Content-Type: text/plain; charset=utf-8 > >- make next patch easely reviewable. >- fix lone quote. (Replace by <strong> >- add forgotten condition for 9999-12-31 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 23 ++++++++++++++-------- > .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 14 +++++++++++-- > 2 files changed, 27 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index c5f5c84..4b13a3a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -42,16 +42,23 @@ > [% IF ( debarred ) %] > <li id="debarred"> > Your account has been frozen. >- [% IF debarred_comment %] Comment: <span id="userdebarred_comment">" >- [% IF debarred_comment.search('OVERDUES_PROCESS') %] >- Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %] >- [% ELSE %] >- [% debarred_comment | html_line_break %] >+ [% IF debarred_comment %] >+ Comment: >+ <span id="userdebarred_comment"> >+ <strong> >+ [% IF debarred_comment.search('OVERDUES_PROCESS') %] >+ Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %] >+ [% ELSE %] >+ [% debarred_comment | html_line_break %] >+ [% END %] >+ </strong> >+ </span> > [% END %] >- </span> >- [% END %] > >- [% IF debarred_date && debarred_date != '9999-12-31' %] End date: <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span>[% END %] >+ [% IF debarred_date && debarred_date != '9999-12-31' %] >+ End date: >+ <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span> >+ [% END %] > <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> > </li> > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 2717b20..35f99e3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -98,8 +98,18 @@ > </li> > [% ELSE %] > <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen. >- [% IF ( BORROWER_INFO.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %] >- [% IF ( BORROWER_INFO.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %] >+ [% IF ( BORROWER_INFO.debarredcomment ) %] >+ Comment: >+ <span id="userdebarred_comment"> >+ <strong> >+ [% BORROWER_INFO.debarredcomment %] >+ </strong> >+ </span> >+ [% END %] >+ [% IF ( BORROWER_INFO.userdebarreddate && debarred_date != '9999-12-31' ) %] >+ End date: >+ <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span> >+ [% END %] > <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> > [% END %] > [% END %] >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19849
:
70070
|
70071
|
76650
|
76651
| 76719 |
76720