]> git.koha-community.org Git - koha.git/commit
Bug 6598 [REVISED] OPACFineNoRenewals syspreference does not stop user renewing in...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 11 Oct 2011 18:52:19 +0000 (14:52 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 02:00:23 +0000 (21:00 -0500)
commit02e56cdcacd27df1a5db5d0ae3e1196417a7efc1
tree14e4b938861d5631e77446a6b5ec3237a2516e9a
parent0160ba05ac66e392800aad7caf5734667a223d87
Bug 6598 [REVISED] OPACFineNoRenewals syspreference does not stop user renewing in opac

This patch standardizes the condition under which renewal controls
are displayed at the page (as opposed to item) level. In some
places "canrenew" was used, in others "patron_flagged" was used.
Now "canrenew" controls renew controls and "patron_flagged" only
triggers the display of user warnings.

This patch also allows for renewal information to be displayed
for each item in situations where OPAC renewals are allowed but
disabled for whatever reason. This gives the patron information
about used/available renew counts but hides renew controls.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 0027fe0cc367632038f4562aaea22a582c785d9b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
opac/opac-user.pl