Bugzilla – Attachment 13706 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]
Bug 7110 - Renewal messages still displays in OPAC if OpacRenewalAllowed is disabled
Bug-7110---Renewal-messages-still-displays-in-OPAC.patch (text/plain), 2.17 KB, created by
Owen Leonard
on 2012-11-27 16:34:04 UTC
(
hide
)
Description:
Bug 7110 - Renewal messages still displays in OPAC if OpacRenewalAllowed is disabled
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-11-27 16:34:04 UTC
Size:
2.17 KB
patch
obsolete
>From 692db86e950017922f0d4ab79226edf84b57e35d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 27 Nov 2012 11:16:14 -0500 >Subject: [PATCH] Bug 7110 - Renewal messages still displays in OPAC if > OpacRenewalAllowed is disabled >Content-Type: text/plain; charset="utf-8" > >The original patch added a message to display if OpacRenewalAllowed >is disabled but OPACFineNoRenewals is enabled. This change was >reversed by a follow-up on Bug 8408. > >I think both versions are incorrect: If a patron has fines which >exceed the limit set by OPACFineNoRenewals but OPAC renewals are >disallowed by OpacRenewalAllowed, no message should be displayed. >Information about outstanding fines in this case has no bearing on >how the user sees his summary of checkouts. > >If OpacRenewalAllowed is diabled and a patron's fines exceed the limit >set by OPACFineNoRenewals they should see no message. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 2 -- > 1 file changed, 2 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 43b8329..b4b1705 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >@@ -102,8 +102,6 @@ $.tablesorter.addParser({ > [% END %] > [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %] > <span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">[% IF renewal_blocked_fines != "0.00" %] more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span> in [% END %] fines</a>, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span> >- [% ELSIF ( renewal_blocked_fines ) %] >- <span id="renewal_blocked_fines"><li><strong>Please note: </strong> You currently owe <a href="/cgi-bin/koha/opac-account.pl"><span id="renewal_blocked_fines_amount">[% renewal_blocked_fines_amountoutstanding %] in fines. Please pay your fines if you wish to renew your books.</span></a></li></span> > [% END %] > </ul></div> > [% END %] >-- >1.7.9.5
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