LP1902265: implement per-hold notification updates in Bootstrap OPAC
authorGarry Collum <gcollum@gmail.com>
Tue, 10 Nov 2020 17:54:52 +0000 (12:54 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 8 Feb 2021 15:50:09 +0000 (10:50 -0500)
commitada6eddbffe99fc7f673634a0264d68282934955
tree31ca7c57150d4140ce25a63c41957727c5990cc7
parent4665160daf7fd3ed05a58c5f6ae154432a2f3b70
LP1902265: implement per-hold notification updates in Bootstrap OPAC

In the Bootstrap Opac:

* Adds a Notify Method column to the patron's hold list.
* Adds email, phone, and sms notifiction editing to the hold's
  edit screen.
* Also, adds <label> tags to the existing form fields in the edit
  page for accessibility and some bootstrappy form elements to
  format the appearance of the form.

The SMS fields do not appear unless the Library Setting for
"Enable features that send SMS text messages" is set to true.

To test work with the above OU setting off, and then on.

* Place holds for a patron with and without an email address.
* If a patron has a defualt SMS carrier, this carrier should pop up
  in the list by default.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2
Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2
Open-ILS/src/templates-bootstrap/opac/parts/hold_notify.tt2 [new file with mode: 0755]
Open-ILS/src/templates-bootstrap/opac/parts/sms_carrier_selector.tt2