From cca00b0ee1509f51c920f2f768a0eadfe6e30fad 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. Conflicts: Open-ILS/src/templates/opac/parts/footer.tt2 Open-ILS/src/templates/opac/register.tt2 --- Open-ILS/src/templates/opac/register.tt2 | 41 ++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/opac/register.tt2 b/Open-ILS/src/templates/opac/register.tt2 index f63b9ae227..076ac6d801 100644 --- a/Open-ILS/src/templates/opac/register.tt2 +++ b/Open-ILS/src/templates/opac/register.tt2 @@ -27,6 +27,7 @@ register_fields = [ {class => 'stgu', name = 'first_given_name', label => l('First Name')}, {class => 'stgu', name = 'second_given_name', label => l('Middle Name')}, {class => 'stgu', name = 'family_name', label => l('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')}, @@ -36,7 +37,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 @@ -106,14 +106,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 @@ -170,6 +173,36 @@ 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 + (see acceptable forms of ID).

+ + + + + + + [% IF ctx.register.opt_in_settings.size > 0 %] [% FOR optin IN ctx.register.opt_in_settings %] @@ -189,10 +222,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