From 205b5e355a3644eaaeede91fdf58e4d2763ef2e3 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Thu, 21 Aug 2014 16:24:42 -0400 Subject: [PATCH] Customizations to patron self-registration form and footer link. Adding corrected wording for self-registration agreement. Signed-off-by: Terran McCanna Conflicts: Open-ILS/src/templates/opac/parts/footer.tt2 Open-ILS/src/templates/opac/register.tt2 --- Open-ILS/src/templates/opac/register.tt2 | 46 +++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/opac/register.tt2 b/Open-ILS/src/templates/opac/register.tt2 index 7a8f89e1c8..fd061efc63 100644 --- a/Open-ILS/src/templates/opac/register.tt2 +++ b/Open-ILS/src/templates/opac/register.tt2 @@ -30,6 +30,7 @@ register_fields = [ {class => 'stgu', name = 'pref_first_given_name', label => l('Preferred First Name')}, {class => 'stgu', name = 'pref_second_given_name', label => l('Preferred Middle Name')}, {class => 'stgu', name = 'pref_family_name', label => l('Preferred Last Name')}, + {class => 'stgu', name = 'suffix', label => l('Suffix (Sr./Jr./III)')}, {class => 'stgma', name = 'street1', label => l('Street Address')}, {class => 'stgma', name = 'street2', label => l('Street Address (2)')}, {class => 'stgma', name = 'city', label => l('City')}, @@ -39,7 +40,6 @@ register_fields = [ {class => 'stgu', name = 'dob', label => l('Date of Birth')}, {class => 'stgu', name = 'day_phone', label => l('Phone Number')}, {class => 'stgu', name = 'email', label => l('Email Address')} - {class => 'stgu', name = 'usrname', label => l('Requested Username')} ]; # The dojo date widget in the patron edit UI only accepts default @@ -109,14 +109,17 @@ END; value=value || ctx_org can_have_users_only=1 valid_org_list=ctx.register.valid_orgs - %] + %] + + (Find the library system and branch closest to you.)
[% IF ctx.register.invalid.bad_home_ou %] [% l('Please select a valid library') %] [% END %] + [% # <=== shifting code left for readability @@ -185,6 +188,41 @@ FOR field_def IN register_fields; [% END %] + + + + +

By clicking the Submit Registration button below, + you are applying for the right to use the library and:

+ + +

After submitting this form, you will have 14 days + to visit the Home Library you have selected above to complete your registration. + You will need to bring proof of ID and address + (see acceptable forms of ID).

+ +

If this card is for a juvenile (under 18 years), the parent + or guardian who is approving the card must visit the library to complete the + registration in order for the card to be issued.

+ + + + + + + [% IF ctx.register.opt_in_settings.size > 0 %] [% FOR optin IN ctx.register.opt_in_settings %] @@ -204,10 +242,10 @@ FOR field_def IN register_fields; [% l('Go Back') %] + class="opac-button" style="font-size:large;" >[% l('Cancel') %] + class="opac-button" style="font-size:large;width:400px;" /> -- 2.11.0