Modifications to patron self-registration form to make it
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 15 Dec 2015 16:47:03 +0000 (11:47 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Tue, 15 Dec 2015 16:47:03 +0000 (11:47 -0500)
display better and change library locator link.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/register.tt2

index c7420a5..c628321 100644 (file)
@@ -1743,7 +1743,7 @@ a.preflib_change {
 
 #main-content-register {
     margin-left: 40px;
-    font-size: [% css_fonts.size_bigger %];
+    font-size: .9em;
 }
 
 #main-content-register table { 
@@ -1760,6 +1760,10 @@ a.preflib_change {
     padding-left: 20px;
 }
 
+#main-content-register-terms {
+       max-width:400px;
+}
+
 .patron-reg-invalid {
     font-weight: bold;
     color: red;
@@ -2167,6 +2171,7 @@ a.preflib_change {
        .mobile_search_lbl_clr{
           color:[% css_colors.mobile_header_text %];
        }
+          
 }
 
 
index 3c2d637..53946cf 100644 (file)
@@ -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 
@@ -51,12 +51,12 @@ END;
 <div id="content-wrapper">
     <div id="main-content-register">
         <div class="common-full-pad"></div>
-        <h1>[% l('Request a Library Card')%]</h1>
+        <h1>[% l('Apply for a PINES Library Card')%]</h1>
         <hr/>
 
         [% IF ctx.register.success %]
             <h3>[% l('Registration successful!') %]<h3>
-            <h4>[% l('Please see library staff to complete your registration.') %]</h4>
+            <h4>[% l('Please visit your Home Library within 14 days to complete your registration.') %]</h4>
 
             [% IF ctx.register.username_taken %]
             <p>
@@ -99,7 +99,7 @@ END;
         <form method='POST' onSubmit="return dobValidate(document.getElementById('stgu.dob'))">
             <table>
                 <tr>
-                    <td>
+                    <td valign="top">
                         <label for='stgu.home_ou'>[% l('Home Library') %]</label>
                     </td>
                     <td>[% INCLUDE build_org_selector 
@@ -107,7 +107,11 @@ END;
                             value=value || ctx_org
                             can_have_users_only=1
                             valid_org_list=ctx.register.valid_orgs
-                        %]
+                        %]<br/>
+                                               <div style="font-size:small;font-style:italic;">
+                                                   <a href="http://pines.georgialibraries.org/pinesLocator/locator.html" target="_blank">
+                               Find the name of the library system and branch closest to you.</a>
+                                           </div>
                     </td>
                     <td>
                         [% IF ctx.register.invalid.bad_home_ou %]
@@ -115,6 +119,7 @@ END;
                             [% l('Please select a valid library') %]
                         </span>
                         [% END %]
+                    </td>
                 </tr>
 [%
 # <=== shifting code left for readability
@@ -171,14 +176,49 @@ FOR field_def IN register_fields;
     </td>
 </tr>
 [% END %]
+
+<!-- Adding terms of agreement -->
+<tr>
+    <td colspan='3' id="main-content-register-terms">
+        <p style="font-weight:bold;">By clicking the Submit Registration button below, 
+            you are applying for the right to use the library and:</p>
+        <ul>
+            <li>You agree to comply with all its rules and regulations, and give immediate 
+                notice of any change of address.</li>
+            <li>You accept financial responsibility for all fines and/or damages to all 
+                Library materials, audiovisual materials and equipment beyond normal wear and 
+                tear, which is lost or damaged beyond use while checked out on your card. Under 
+                Georgia Code (OCGA Annotated Rev. 1985 20-5-53), failure to return items 
+                borrowed from a public library is considered a misdemeanor.</li>
+            <li><u>If this card is for a juvenile:</u> As the parent or guardian of a child 
+                under 18 years, you are willing to allow him/her to borrow materials from 
+                the Public Library. You will take responsibility and make good any charges 
+                or loss to library materials and pay any fine justly charged.</li>
+         </ul>
+
+         <p style="font-weight:bold;">After submitting this form, you will have <u>14 days</u> 
+             to visit the Home Library you have selected above to complete your registration. 
+             You will need to bring proof of ID and address <a href="http://pines.georgialibraries.org/help-faqs#FAQCard" target='_blank'>
+             (see acceptable forms of ID).</a></p>
+
+         <p style="font-weight:bold;">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.</p>
+    </td>
+</tr>
+
+
+
+<!-- End terms of agreement -->
+
 <!-- ====> shifting the code back to the right for context -->
                     <tr>
                         <td colspan='3'>
                             <a href="[% ctx.opac_root %]/home" 
-                                class="opac-button">[% l('Go Back') %]</a>
+                                class="opac-button" style="font-size:large;" >[% l('Cancel') %]</a>
                             <input type="submit" 
                                 value="[% l('Submit Registration') %]" 
-                                class="opac-button" />
+                                class="opac-button" style="font-size:large;width:400px;" />
                         </td>
                     </tr>
                 </table>