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 <jason@sigio.com>
Wed, 27 Jun 2012 23:15:34 +0000 (19:15 -0400)
commitfb1d12dd95929bec06dd1d5eaab19cb1bad12545
tree68ac0ebf70a3ca207a403343d2b62a2172fa977d
parentbf14928844247748c4edb734a8c4cc11b98469ed
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]