Add a warning when the user adds a record to a temporary list.
authorJason Stephenson <jason@sigio.com>
Tue, 26 Jun 2012 00:26:27 +0000 (20:26 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 5 Jul 2012 13:23:35 +0000 (09:23 -0400)
commit53900d00aaecd1f11755ee210bfedd7b2d01df06
tree3e885877ac61488cba928efcf9031130ab244111
parent6989941e741eb3d7920bf6bb3e8b58a482a005ad
Add a warning when the user adds a record to a temporary list.

TPAC has been modified so that a user will see a warning before adding
a record to a temporary bookbag.  This message serves to inform the
user that they are adding to a temporary list that will disappear when
their session ends.

A new org. unit setting has been added,
opac.patron.temporary_list_warn, that will enable this warning when
set.  Sites may choose not to display this warning.

The user may also set a preference in their search preferences to
disable this warning.  The setting only works when a user is logged
in, of course.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/templates/opac/temp_warn.tt2 [new file with mode: 0644]