From: William Rockwood Date: Mon, 30 Jul 2012 17:08:00 +0000 (-0400) Subject: fix update_alias template X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bf0c8c54f72b5a913c8a9f5b00525c96140d6116;p=evergreen%2Ftadl.git fix update_alias template - Pulled update_alias.tt2 out of the base template and added the closing /div and set the class of the submit button to opac-button Signed-off-by: William Rockwood --- diff --git a/templates_tadlskin/opac/myopac/update_alias.tt2 b/templates_tadlskin/opac/myopac/update_alias.tt2 new file mode 100644 index 0000000000..910b0446b4 --- /dev/null +++ b/templates_tadlskin/opac/myopac/update_alias.tt2 @@ -0,0 +1,32 @@ +[% PROCESS "opac/parts/header.tt2"; + PROCESS "opac/parts/misc_util.tt2"; + WRAPPER "opac/parts/myopac/base.tt2"; + myopac_page = "prefs" %] +
+ +[% IF ctx.alias_exists %] +
+ [% bad_alias = ctx.alias_exists | html %] + [% | l(bad_alias) %] + The alias "[_1]" is taken. Please try a different alias. + [% END %] +
+ +[% ELSIF ctx.password_incorrect %] +
+ [% |l %] Your current password was not correct. [% END %] +
+ +[% END %] + +
+ + + + + +
[% l('Current Alias') %][% ctx.user.alias | html %]
[% l('Current Password') %]
[% l('New Alias') %]
+
+
+ +[% END %]