From 1d5e98755f1f823a378f4cb7472ab0e1815fb1bf Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Tue, 28 Jun 2022 15:07:46 +0000 Subject: [PATCH] LP1965065 Example DOB on self-registration displays twice This fixes the double display of the example text in the self-registration form of the opac. Not only does DOB exmaple display twice but the example text for phone, email, and postal code also display twice. To test: 1. Go to library settings and set "Allow Patron Self Registration" and "Show DOB field on patron registration" to true. Set a value for "Example dob field on patron registration". If testing phone, postal code, or email the appropriate values must be set for the show and example parameters. 2. Go to "Request a Library Card" in the opac. 3. Notice that the DOB example displays twice. 4. Apply the patch. 5. The example now just displays once. Signed-off-by: Garry Collum --- Open-ILS/src/templates-bootstrap/opac/register.tt2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/register.tt2 b/Open-ILS/src/templates-bootstrap/opac/register.tt2 index 73cc27388b..1a7985d333 100755 --- a/Open-ILS/src/templates-bootstrap/opac/register.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/register.tt2 @@ -174,11 +174,6 @@ FOR field_def IN register_fields;
Please enter a [% field_def.label | html %]
- [% IF example %] - - [% l('(Example: [_1])', example) %] - - [% END %] -- 2.11.0