Make wording on 2nd-level pages match prev. commit

This commit is contained in:
Chris Hill-Scott
2016-01-08 17:17:34 +00:00
parent 11ea68e471
commit 86db5fa0b9
8 changed files with 24 additions and 26 deletions
+3 -6
View File
@@ -34,8 +34,7 @@ def confirm_name_change():
if request.method == 'GET':
return render_template(
'views/service-settings/confirm.html',
heading='Rename service',
submit_button_text='Confirm'
heading='Change your service name'
)
elif request.method == 'POST':
return redirect(url_for('.service_settings'))
@@ -68,8 +67,7 @@ def confirm_status_change():
if request.method == 'GET':
return render_template(
'views/service-settings/confirm.html',
heading='Turn off outgoing messages',
submit_button_text='Confirm',
heading='Turn off all outgoing notifications',
destructive=True
)
elif request.method == 'POST':
@@ -92,8 +90,7 @@ def confirm_delete():
if request.method == 'GET':
return render_template(
'views/service-settings/confirm.html',
heading='Delete service',
submit_button_text='Confirm',
heading='Delete this service from Notify',
destructive=True
)
elif request.method == 'POST':
+1 -1
View File
@@ -13,7 +13,7 @@
{
'title': 'Change your service name',
'link': url_for('.name'),
'hint': 'Your service name ({}) is included in every sent notification'.format(service.name)
'hint': 'Your service name ({}) is included in every sent notification'.format(service.name)
},
{
'title': 'Request to go live and turn off sending restrictions',
@@ -16,7 +16,7 @@ GOV.UK Notify | Service settings
<form method="post">
{{ textbox('new_name', 'Enter your password', password=True) }}
{{ page_footer(
submit_button_text,
'Confirm',
destructive=destructive,
back_link=url_for('.service_settings')
) }}
@@ -7,9 +7,10 @@
{% block maincolumn_content %}
<h1 class="heading-xlarge">Delete this service from Notify</h1>
<div class="grid-row">
<div class="column-three-quarters">
<h1 class="heading-xlarge">Delete service</h1>
<p>
This cant be undone. You will lose:
@@ -8,13 +8,13 @@ GOV.UK Notify | Service settings
{% block maincolumn_content %}
<h1 class="heading-xlarge">Change your service name</h1>
<div class="grid-row">
<div class="column-three-quarters">
<h1 class="heading-xlarge">Rename service</h1>
<p>
Users will see this name where?
Your service name ({{ service.name }}) is included in every sent notification
</p>
<form method="post">
@@ -7,7 +7,7 @@
{% block maincolumn_content %}
<h1 class="heading-xlarge">Request to make service live</h1>
<h1 class="heading-xlarge">Request to go live</h1>
<div class="grid-row">
<div class="column-three-quarters">
@@ -38,7 +38,7 @@
<form method="post">
{{ page_footer(
'Request to make service live',
'Send request',
back_link=url_for('.service_settings')
) }}
</form>
@@ -7,23 +7,23 @@ GOV.UK Notify | Service settings
{% block maincolumn_content %}
<h1 class="heading-xlarge">Turn off outgoing messages</h1>
<h1 class="heading-xlarge">Turn off all outgoing notifications</h1>
<div class="grid-row">
<div class="column-three-quarters">
<p>
Youll still be able to send messages to yourself by uploading a CSV
file.
Youll still be able to send notifications to yourself by uploading a
CSV file.
</p>
<p>
You can start sending messages again when youre ready.
You can start sending notifications again when youre ready.
</p>
<form method="post">
{{ page_footer(
'Turn off outgoing messages',
'Turn off all outgoing notifications',
destructive=True,
back_link=url_for('.service_settings')
) }}