mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-22 10:11:04 -04:00
notify-admin-530 remove email info in service name settings
This commit is contained in:
@@ -28,14 +28,12 @@
|
||||
<div class="form-group">
|
||||
{% if current_service.prefix_sms %}
|
||||
<p>Users will see your service name at the start of every text message</p>
|
||||
<!-- <ul class="govuk-list govuk-list--bullet">
|
||||
<li>at the start of every text message</li>
|
||||
<li>as your email sender name</li>
|
||||
</ul> -->
|
||||
{% else %}
|
||||
<p>Users will see your service name as your email sender name.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<p>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 }}
|
||||
|
||||
@@ -22,17 +22,17 @@
|
||||
|
||||
<p class="govuk-body">You should only use an acronym or initialism if your users are already familiar with it.</p>
|
||||
|
||||
<div class="form-group">
|
||||
<div>
|
||||
{% if current_service.prefix_sms %}
|
||||
<p>Users will see your service name:</p>
|
||||
<ul class="list-bullet">
|
||||
<li>at the start of every text message</li>
|
||||
<li>as your email sender name</li>
|
||||
</ul>
|
||||
|
||||
<p class="govuk-body">Users will see your service name at the start of every text message</p>
|
||||
{% else %}
|
||||
<p>Users will see your service name as your email sender name.</p>
|
||||
<p class="govuk-body">Users will see your service name as your email sender name.</p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
<p class="govuk-body">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 }}
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user