Bug 3173 Place Hold link visible in OPAC even if syspref turned off
authorJane Wagner <jwagner@ptfs.com>
Thu, 30 Apr 2009 14:58:39 +0000 (10:58 -0400)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 8 May 2009 15:39:23 +0000 (10:39 -0500)
commit3fa269da6ca4ba060f056a185f152ffd7d15bee4
treef3464a3734d23145573ae2b8228e36b3d736832c
parent348d471fe01d7acf6daf74abffa90c4c4ece557f
Bug 3173 Place Hold link visible in OPAC even if syspref turned off

If the syspref RequestOnOpac is turned off, the link to place a hold does not
show in the detail page.  However, the link is still present in the results
list as well as in the basket and in lists.  Modified templates to check
for the syspref and to obey it.

NOTE:  This does not turn off the display of the Holds tab in the OPAC
user account.  I think there are situations where library staff may be
allowed to place holds but users are not allowed to do so through the
OPAC.  Leaving the Holds tab visible shows users what they have on hold,
but does not allow them to place holds.  It does allow users to cancel
holds.  If there is a need to hide this tab, that would probably be
best accomplished by a separate syspref.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl