]> 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)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 14 Feb 2012 21:15:23 +0000 (22:15 +0100)
commit0027fe0cc367632038f4562aaea22a582c785d9b
treedf776bf6925608bf1bbfd4f6d661769942290511
parentedee01dd0f18c479b0ee046ce5a866712af16174
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>
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
opac/opac-user.pl