]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1958163 Bootstrap Opac: the 'Request a Card' link.
authorGarry Collum <gcollum@gmail.com>
Mon, 17 Jan 2022 18:05:37 +0000 (13:05 -0500)
committerJane Sandberg <js7389@princeton.edu>
Thu, 7 Apr 2022 19:53:37 +0000 (12:53 -0700)
commitcc7376430acf28706fff88853a2967d11c85a4e1
tree5de4bd829d22b7f96e0d41b340e4989253793ffc
parent69729bd768a37932c62043fd5f872600d3dfe2cb
LP1958163 Bootstrap Opac: the 'Request a Card' link.

This fixes the 'Request a Card' link which displays in the bootstrap opac
 regardless of the 'Allow Patron Self-Registration' library setting in both
the login page and the login modal.

To Test:
1. Click on My Account in the Bootstrap Opac to open the login modal.
   Notice the Request a Card link.  Click Login without adding a barcode
   or pin# to see the login page with its link.
2. Set the Allow Patron Self_Registration library setting to false for the
   Consortium.
3. Repeat 1, and notice that the link still displays.
4. Apply the patch.
5. Now the link should not be visible in both forms.
6. Set the library setting to true, to verify that the link does display.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2
Open-ILS/src/templates-bootstrap/opac/parts/login/login_modal.tt2