From 620ab03399f310ed77c6a9fd3f72f57fe7149f68 Mon Sep 17 00:00:00 2001 From: Melissa Lefebvre Date: Thu, 25 Apr 2013 12:11:23 -0400 Subject: [PATCH] TPAC - Password messages 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 --- Open-ILS/src/templates/opac/css/style.css.tt2 | 5 +++++ Open-ILS/src/templates/opac/myopac/update_password.tt2 | 1 + Open-ILS/src/templates/opac/password_reset.tt2 | 1 + 3 files changed, 7 insertions(+) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 959609ddfe..4ef4acbe78 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1515,3 +1515,8 @@ a.preflib_change { .record_author { font-style: italic; } + +.password_message { + padding-top: 1em; + font-style: italic; +} diff --git a/Open-ILS/src/templates/opac/myopac/update_password.tt2 b/Open-ILS/src/templates/opac/myopac/update_password.tt2 index d9a427d996..bc04ec9724 100644 --- a/Open-ILS/src/templates/opac/myopac/update_password.tt2 +++ b/Open-ILS/src/templates/opac/myopac/update_password.tt2 @@ -28,6 +28,7 @@
+ diff --git a/Open-ILS/src/templates/opac/password_reset.tt2 b/Open-ILS/src/templates/opac/password_reset.tt2 index 27f079ef47..6cd02bc030 100644 --- a/Open-ILS/src/templates/opac/password_reset.tt2 +++ b/Open-ILS/src/templates/opac/password_reset.tt2 @@ -48,6 +48,7 @@ [% END %] [% ELSIF !ctx.pwreset.status %]

[% l('Please enter your user name or barcode to identify your library account and request a password reset') %]

+
[% l('Note: You must have a valid email address associated with your library account. If not, please contact your local library for further assistance.') %]
[% l('Current Password') %]
[% 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.') %]
[% l('New Password') %]
[% l('New Password Again') %]
-- 2.11.0