NIHVIVO-2280: Styled 'my account' page. If changes are successful in this page, the feedback message has to be treated as a feedback not as error alert. Need to ask Jim to handle this in a different way.

This commit is contained in:
manolobevia 2011-06-13 19:58:58 +00:00
parent 31136651d8
commit b9aa914074

View file

@ -2,7 +2,7 @@
<#-- Template for editing a user account --> <#-- Template for editing a user account -->
<h3>Edit account</h3> <h3>My account</h3>
<#if errorEmailIsEmpty??> <#if errorEmailIsEmpty??>
<#assign errorMessage = "You must supply an email address." /> <#assign errorMessage = "You must supply an email address." />
@ -43,7 +43,6 @@
</section> </section>
</#if> </#if>
<#if confirmChange??> <#if confirmChange??>
<#assign confirmMessage = "Your changes have been saved." /> <#assign confirmMessage = "Your changes have been saved." />
</#if> </#if>
@ -67,7 +66,7 @@
<label for="email-address">Email address<span class="requiredHint"> *</span></label> <label for="email-address">Email address<span class="requiredHint"> *</span></label>
<input type="text" name="emailAddress" value="${emailAddress}" id="email-address" role="input" /> <input type="text" name="emailAddress" value="${emailAddress}" id="email-address" role="input" />
<p>Note: if email changes, a confirmation email will be sent to the new email address entered above.</p> <p class="note">Note: if email changes, a confirmation email will be sent to the new email address entered above.</p>
<label for="first-name">First name<span class="requiredHint"> *</span></label> <label for="first-name">First name<span class="requiredHint"> *</span></label>
<input type="text" name="firstName" value="${firstName}" id="first-name" role="input" /> <input type="text" name="firstName" value="${firstName}" id="first-name" role="input" />
@ -79,14 +78,13 @@
<label for="new-password">New password<span class="requiredHint"> *</span></label> <label for="new-password">New password<span class="requiredHint"> *</span></label>
<input type="password" name="newPassword" value="${newPassword}" id="new-password" role="input" /> <input type="password" name="newPassword" value="${newPassword}" id="new-password" role="input" />
<p>Minimum of ${minimumLength} characters in length.</p> <p class="note">Minimum of ${minimumLength} characters in length. Leaving this blank means that the password will not be changed.</p>
<p>Leaving this blank means that the password will not be changed.</p>
<label for="confirm-password">Confirm initial password<span class="requiredHint"> *</span></label> <label for="confirm-password">Confirm initial password<span class="requiredHint"> *</span></label>
<input type="text" name="confirmPassword" value="${confirmPassword}" id="confirm-password" role="input "/> <input type="password" name="confirmPassword" value="${confirmPassword}" id="confirm-password" role="input" />
</#if> </#if>
<input type="submit" name="submitMyAccount" value="Save changes" class="submit"/> <p><input type="submit" name="submitMyAccount" value="Save changes" class="submit" /></p>
<p class="requiredHint">* required fields</p> <p class="requiredHint">* required fields</p>
</form> </form>