TPAC - Password messages user/melissa/tpac_password_messages
authorMelissa Lefebvre <mlefebvre@biblio.org>
Thu, 25 Apr 2013 16:11:23 +0000 (12:11 -0400)
committerMelissa Lefebvre <mlefebvre@biblio.org>
Thu, 25 Apr 2013 16:11:23 +0000 (12:11 -0400)
In jspac a message appeared when the patron went to change their
password stating the requirements.  This same message is missing
in TPAC.  The wording from jspac has been added and styled to
update_reset.tt2.

Also improved is the message when requesting a forgotten password.
Patrons are unaware that a vaild email address needs to be in
their record until after they try to send a reset.  Wording and
styling has been added to password_reset.tt2 to explain the need
for an email address.

Signed-off-by: Melissa Lefebvre <mlefebvre@biblio.org>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/myopac/update_password.tt2
Open-ILS/src/templates/opac/password_reset.tt2

index 959609d..4ef4acb 100644 (file)
@@ -1515,3 +1515,8 @@ a.preflib_change {
 .record_author {
     font-style: italic;
 }
+
+.password_message {
+       padding-top: 1em; 
+       font-style: italic;
+}
index d9a427d..bc04ec9 100644 (file)
@@ -28,6 +28,7 @@
 <form method='post' id='account-update-email' autocomplete='off'>
     <table> 
         <tr><td>[% l('Current Password') %]</td><td><input type='password' name='current_pw'/></td></tr>
+        <tr><td colspan='2'><div class="password_message">[% l('Note: The password must be at least 7 characters in length, contain at least one letter (a-z/A-Z), and contain at least one number.') %]</div></td></tr>
         <tr><td>[% l('New Password') %]</td><td><input type='password' name='new_pw'/></td></tr>
         <tr><td>[% l('New Password Again') %]</td><td><input type='password' name='new_pw2'/></td></tr>
         <tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
index 27f079e..6cd02bc 100644 (file)
@@ -48,6 +48,7 @@
             [% END %]
         [% ELSIF !ctx.pwreset.status %]
         <h2>[% l('Please enter your user name or barcode to identify your library account and request a password reset') %]</h2>
+        <div class="password_message">[% l('Note: You must have a valid email address associated with your library account. If not, please contact your local library for further assistance.') %]</div>
         <form method="post">
             <table>
                 <tr>