]> 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 03:27:48 +0000 (22:27 -0500)
commitec03815d924290cb56b40d17aa6e842d847e91d9
tree429d8d9188dbe4d45eafb60eff1138bdbdb0e693
parentcf1786d1c36f1f2d4fc902490fbc6396e636a42e
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>
(cherry picked from commit 02e56cdcacd27df1a5db5d0ae3e1196417a7efc1)

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