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:32:29 +0000 (10:32 -0500)
commitb40e7bce894244175caa92485dddf1140b5204a4
treee73f72fa1189dbcff2fe1150fd348ce6560ae7b2
parent35697fe011201b7f20f274df7a617b874af27657
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