Add variant page for service-settings/name

Includes correction of class used for bulleted
list.
This commit is contained in:
Tom Byers
2020-07-01 14:24:27 +01:00
committed by Pea Tyczynska
parent b3bc3a6447
commit 4eea8bfe57
2 changed files with 8 additions and 2 deletions

View File

@@ -104,6 +104,12 @@ def service_name_change(service_id):
session['service_name_change'] = form.name.data
return redirect(url_for('.service_name_change_confirm', service_id=service_id))
if current_service.organisation_type == 'local':
return render_template(
'views/service-settings/name-local.html',
form=form,
)
return render_template(
'views/service-settings/name.html',
form=form,

View File

@@ -17,7 +17,7 @@
) }}
<p class="govuk-body">Your service name should tell users what the message is about as well as who its from. For example:</p>
<ul class="list-bullet">
<ul class="govuk-list govuk-list--bullet">
<li>School admissions - {{ current_user.default_organisation.name }}</li>
<li>Electoral services - {{ current_user.default_organisation.name }}</li>
<li>Blue Badge - {{ current_user.default_organisation.name }}</li>
@@ -28,7 +28,7 @@
<div class="form-group">
{% if current_service.prefix_sms %}
<p class="govuk-body">Users will see your service name:</p>
<ul class="list-bullet">
<ul class="govuk-list govuk-list--bullet">
<li>at the start of every text message</li>
<li>as your email sender name</li>
</ul>