Bugzilla – Attachment 7765 Details for
Bug 7110
Renewal messages still displays in OPAC if OpacRenewalAllowed is disabled.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 7110 - Renewal messages still displays in OPAC if OpacRenewalAllowed is disabled.
SIGNED-OFF-Bug-7110---Renewal-messages-still-displ.patch (text/plain), 2.19 KB, created by
Katrin Fischer
on 2012-02-19 18:38:30 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 7110 - Renewal messages still displays in OPAC if OpacRenewalAllowed is disabled.
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-02-19 18:38:30 UTC
Size:
2.19 KB
patch
obsolete
>From 9351fee253286c2e9bba6468d38581ccc4f13420 Mon Sep 17 00:00:00 2001 >From: Liz Rea <lrea@nekls.org> >Date: Fri, 17 Feb 2012 08:56:26 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 7110 - Renewal messages still displays in > OPAC if OpacRenewalAllowed is disabled. > >To test: >Set a patron with fines over the stated limit in OPACFineNoRenewals. > >With OpacRenewalAllowed set to ALLOW >- log into the OPAC and verify the message that renewals are disallowed is displayed >- verify that renewals are disallowed in the interface. >- remove or pay the fines, verify the message goes away and that OPAC renewals are re-allowed for your patron. > >With OPACFineNoRenewals set to Don't Allow >- verify the message is not shown, even with the patron's fines over the threshold in OPACFineNoRenewals. >- remove or pay the fines, verify that renewals are still disallowed > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Stepped through the test plan and found no problems. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >index ffcd293..7fe10d9 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >@@ -100,8 +100,10 @@ $.tablesorter.addParser({ > [% IF ( BORROWER_INF.lost ) %] > <li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li> > [% END %] >- [% IF renewal_blocked_fines %] >+ [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %] > <li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li> >+ [% ELSIF ( renewal_blocked_fines ) %] >+ <li><strong>Please note: </strong> You have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines. </li> > [% END %] > </ul></div> > [% END %] >-- >1.7.5.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 7110
:
6094
|
6103
|
7709
|
7765
|
13706
|
18052
|
18488
|
19019