Commit ae5c71dc by Giulio Gratta

Merge pull request #69 from Stanford-Online/giulio/change-password-reset-text

change wording of password reset pages
parents cf9d1e11 389c09a5
...@@ -18,18 +18,18 @@ ...@@ -18,18 +18,18 @@
</header> </header>
<div class="instructions"> <div class="instructions">
<p>${_("Please enter your e-mail address below, and we will e-mail instructions for setting a new password.")}</p> <p>${_("Please enter your email address below, and we will email instructions for setting a new password.")}</p>
</div> </div>
<form id="pwd_reset_form" action="${reverse('password_reset')}" method="post" data-remote="true"> <form id="pwd_reset_form" action="${reverse('password_reset')}" method="post" data-remote="true">
<fieldset class="group group-form group-form-requiredinformation"> <fieldset class="group group-form group-form-requiredinformation">
<legend class="is-hidden">${_("Required Information")}</legend> <legend class="sr">${_("Required Information")}</legend>
<ol class="list-input"> <ol class="list-input">
<li class="field required text" id="forgot-password-modal-field-email"> <li class="field required text" id="forgot-password-modal-field-email">
<label for="pwd_reset_email">${_("Your E-mail Address")}</label> <label for="pwd_reset_email">${_("Your E-mail Address")}</label>
<input class="" id="pwd_reset_email" type="email" name="email" value="" placeholder="example: username@domain.com" aria-describedby="pwd_reset_email-tip" aria-required="true" /> <input class="" id="pwd_reset_email" type="email" name="email" value="" placeholder="example: username@domain.com" aria-describedby="pwd_reset_email-tip" aria-required="true" />
<span class="tip tip-input" id="pwd_reset_email-tip">${_("This is the e-mail address you used to register with {platform}").format(platform=microsite.get_value('platform_name', settings.PLATFORM_NAME))}</span> <span class="tip tip-input" id="pwd_reset_email-tip">${_("This should be the email address you used to register with {platform}").format(platform=microsite.get_value('platform_name', settings.PLATFORM_NAME))}</span>
</li> </li>
</ol> </ol>
</fieldset> </fieldset>
......
<%! from django.utils.translation import ugettext as _ %> <%! from django.utils.translation import ugettext as _ %>
<header> <header>
<h2>${_("Password reset successful")}</h2> <h2>${_("Password reset initiated")}</h2>
<hr> <hr>
</header> </header>
<div class="message"> <div class="message">
<p>${_("We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly.")}</p> <p>{% blocktrans with start_link='<a href="/login">' end_link='</a>' %}
The system is looking for your account. You should receive an email with password reset
instructions shortly. If you don't see it within a few minutes (and it's not in your email's
Spam or Trash), your account may be under a different email address. Try {{ start_link }}logging
in{{ end_link }} again with some other email addresses you maintain.
{% endblocktrans %}</p>
</div> </div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment