LP1958163 Bootstrap Opac: the 'Request a Card' link. user/mccanna/lp1958163_bootstrap_opac_request_a_card_link_signoff
authorGarry Collum <gcollum@gmail.com>
Mon, 17 Jan 2022 18:05:37 +0000 (13:05 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 17 Mar 2022 21:50:25 +0000 (17:50 -0400)
commit01f8e1c8d62d91c0146390ffefa6b99470327844
tree756116b74c97f86f25dee132280eb41ad73583c7
parent65baa507bb9037a244bf05cf5aabe8c331799ed5
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>
Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2
Open-ILS/src/templates-bootstrap/opac/parts/login/login_modal.tt2