Tidy up text on forgot your password screens

Display updated_at instead of created_at for notifications.
This commit is contained in:
Henry Hadlow
2016-05-10 11:36:49 +01:00
committed by Nicholas Staples
parent 9232ab51d5
commit e3fa1ac253
10 changed files with 22 additions and 16 deletions

View File

@@ -27,7 +27,7 @@
align='right',
status='error' if item.status == 'Failed' else 'default'
) %}
{{ item.status|title }} at {{ item.sent_at|format_time }}
{{ item.status|title }} at {{ item.updated_at|format_time }}
{% endcall %}
{% endcall %}
</div>

View File

@@ -10,9 +10,9 @@ Create a new password GOV.UK Notify
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">Create a new password</h1>
<h1 class="heading-large">Forgot your password?</h1>
<p>If you have forgotten your password, we can send you an email to create a new password.</p>
<p>Well send you an email to create a new password.</p>
<form autocomplete="off" method="post">
{{ textbox(form.email_address, safe_error_message=True) }}

View File

@@ -94,7 +94,7 @@
{{ text_field(item.status|capitalize) }}
{% call field(align='right') %}
{{ item.created_at|format_datetime_short }}
{{ item.updated_at|format_datetime_short }}
{% endcall %}
{% endcall %}

View File

@@ -8,9 +8,9 @@ GOV.UK Notify
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">GOV.UK Notify</h1>
<h1 class="heading-large">Now check your email</h1>
<p>You have been sent an email containing a link to reset your password.</p>
<p>Weve sent you an email with a link to reset your password.</p>
</div>
</div>

View File

@@ -17,7 +17,7 @@
<form method="post" autocomplete="nope">
{{ textbox(form.email_address) }}
{{ textbox(form.password) }}
{{ page_footer("Continue", secondary_link=url_for('.forgot_password'), secondary_link_text="Forgotten password?") }}
{{ page_footer("Continue", secondary_link=url_for('.forgot_password'), secondary_link_text="Forgot your password?") }}
</form>
</div>
</div>