diff --git a/app/templates/views/service-settings/name-local.html b/app/templates/views/service-settings/name-local.html index aaff84b1a..bff5403de 100644 --- a/app/templates/views/service-settings/name-local.html +++ b/app/templates/views/service-settings/name-local.html @@ -28,14 +28,12 @@
{% if current_service.prefix_sms %}

Users will see your service name at the start of every text message

- {% else %}

Users will see your service name as your email sender name.

{% endif %}
+

The service name you enter here will appear at the beginning of each text message, unless you turn off this off in Settings > Start text message with service name. + {% call form_wrapper() %} {{ form.name }} diff --git a/app/templates/views/service-settings/name.html b/app/templates/views/service-settings/name.html index 0bffb3b2d..6c0dc364f 100644 --- a/app/templates/views/service-settings/name.html +++ b/app/templates/views/service-settings/name.html @@ -22,17 +22,17 @@

You should only use an acronym or initialism if your users are already familiar with it.

-
+
{% if current_service.prefix_sms %} -

Users will see your service name:

- + +

Users will see your service name at the start of every text message

{% else %} -

Users will see your service name as your email sender name.

+

Users will see your service name as your email sender name.

{% endif %} +
+

The service name you enter here will appear at the beginning of each text message, unless you turn off this off in Settings > Start text message with service name. + {% call form_wrapper() %} {{ form.name }} diff --git a/tests/app/main/views/service_settings/test_service_settings.py b/tests/app/main/views/service_settings/test_service_settings.py index 1df4bba24..13c65c7a3 100644 --- a/tests/app/main/views/service_settings/test_service_settings.py +++ b/tests/app/main/views/service_settings/test_service_settings.py @@ -254,10 +254,9 @@ def test_should_show_service_name( assert page.select_one( 'main .govuk-body' ).text == 'Your service name should tell users what the message is about as well as who it’s from.' - assert normalize_spaces(page.select_one('main ul').text) == ( - 'at the start of every text message ' - 'as your email sender name' - ) + + assert "The service name you enter here will appear at the beginning of each text message, unless" in page.text + app.service_api_client.get_service.assert_called_with(SERVICE_ONE_ID)