Rename check and confirm to preview

We’ve seen people land on this page and expect the message to be on
their phone already.

‘Check and confirm’ sounds a lot like ‘check your phone’, which is
language that we use earlier on when we _have_ sent a message.

Hopefully ‘preview’ is a better indication that it’s not sent yet.
This commit is contained in:
Chris Hill-Scott
2016-07-01 07:39:39 +01:00
parent c3f347760a
commit 3241710a96
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
{% from "components/message-count-label.html" import message_count_label %}
{% block page_title %}
{{ "Error" if errors else "Check and confirm" }} GOV.UK Notify
{{ "Error" if errors else "Preview" }} GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}
@@ -136,7 +136,7 @@
{% else %}
<h1 class="heading-large">
Check and confirm
Preview
</h1>
{% endif %}

View File

@@ -54,7 +54,7 @@
{% endfor %}
{% endcall %}
{{ page_footer("Check and confirm", back_link=(
{{ page_footer("Preview", back_link=(
url_for('.send_messages', service_id=current_service.id, template_id=template.id)) if not request.args['help'] else None
) }}
</form>

View File

@@ -694,7 +694,7 @@ def test_send_and_check_page_renders_if_no_statistics(
today = datetime.today().date().strftime('%Y-%m-%d')
assert resp.status_code == 200
page = BeautifulSoup(resp.data.decode('utf-8'), 'html.parser')
assert page.h1.text.strip() == 'Check and confirm'
assert page.h1.text.strip() == 'Preview'
mock_get_stats.assert_called_once_with(fake_uuid, today)