From c63d3edba42b2dfcecc96a1c5bff5a0564978083 Mon Sep 17 00:00:00 2001 From: Melissa Lefebvre Date: Mon, 25 Feb 2013 10:42:15 -0500 Subject: [PATCH] TPAC - Account preferences headings Currently, all tabs in My Account show a heading once clicked(Items Checked Out shows "Current Items Checked Out" heading when clicked); however, under the Account Preferences for a change of username, password, and email address no headings appear. Div classes were added to update_password.tt2, update_username.tt2, and update_email.tt2 for consistancy in the My Account area. Signed-off-by: Melissa Lefebvre Signed-off-by: Ben Shum Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/myopac/update_email.tt2 | 4 ++++ Open-ILS/src/templates/opac/myopac/update_password.tt2 | 4 ++++ Open-ILS/src/templates/opac/myopac/update_username.tt2 | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/Open-ILS/src/templates/opac/myopac/update_email.tt2 b/Open-ILS/src/templates/opac/myopac/update_email.tt2 index 4be2ffe5f4..d3f5626cd3 100644 --- a/Open-ILS/src/templates/opac/myopac/update_email.tt2 +++ b/Open-ILS/src/templates/opac/myopac/update_email.tt2 @@ -4,6 +4,10 @@ myopac_page = "prefs" %]
+
+ [% l('Update Email') %] +
+ [% IF ctx.invalid_email %]
[% bad_email = ctx.invalid_email | html %] diff --git a/Open-ILS/src/templates/opac/myopac/update_password.tt2 b/Open-ILS/src/templates/opac/myopac/update_password.tt2 index 8655faa852..d9a427d996 100644 --- a/Open-ILS/src/templates/opac/myopac/update_password.tt2 +++ b/Open-ILS/src/templates/opac/myopac/update_password.tt2 @@ -5,6 +5,10 @@
+
+ [% l('Update Password') %] +
+ [% IF ctx.password_invalid %]
[% |l %] New password is invalid. Please try a different password. [% END %] diff --git a/Open-ILS/src/templates/opac/myopac/update_username.tt2 b/Open-ILS/src/templates/opac/myopac/update_username.tt2 index 3dbb908117..a7c592e924 100644 --- a/Open-ILS/src/templates/opac/myopac/update_username.tt2 +++ b/Open-ILS/src/templates/opac/myopac/update_username.tt2 @@ -4,6 +4,10 @@ myopac_page = "prefs" %]
+
+ [% l('Update Username') %] +
+ [% IF ctx.invalid_username %]
[% bad_user = ctx.invalid_username | html %] -- 2.11.0