mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Add variant page for service-settings/name
Includes correction of class used for bulleted list.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
) }}
|
||||
|
||||
<p class="govuk-body">Your service name should tell users what the message is about as well as who it’s 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>
|
||||
|
||||
Reference in New Issue
Block a user