Lp1969967: Move allow_phone_notifications to organizational unit settings
authorJason Stephenson <jason@sigio.com>
Tue, 26 Apr 2022 19:38:12 +0000 (15:38 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 27 Apr 2022 14:33:28 +0000 (10:33 -0400)
commit1d20cc63b08e02d58735847642145fbe8fc7e601
treedb5fecbaca6af148dbd375f3aa6fce6793b1d52f
parent27d6cc9ab496249b494af53868445e314cc8db8c
Lp1969967: Move allow_phone_notifications to organizational unit settings

Move the allow_phone_notifications OPAC setting to the organizational
unit settings as 'opac.allow_phone_notifications':

1. Create the new organizational unit setting.

2. Modify the OPAC to look the setting up from the OU settings.

3. Add a note to the OPAC config.tt2 files to indicate that the
   setting has moved.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.opac.allow_phone_notifications-ous.sql [new file with mode: 0644]
Open-ILS/src/templates-bootstrap/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates-bootstrap/opac/parts/config-fresh.tt2
Open-ILS/src/templates-bootstrap/opac/parts/config.tt2
Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2
Open-ILS/src/templates/kpac/getit.tt2
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/place_hold.tt2