mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 03:10:16 -04:00
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:
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user