mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/browse-list.html" import browse_list %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Service settings
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-xlarge">Service settings</h1>
|
|
|
|
{{ browse_list([
|
|
{
|
|
'title': 'Change your service name',
|
|
'link': url_for('.name', service_id=service_id),
|
|
'hint': 'Your service name ({}) is included in every sent notification'.format(service.name)
|
|
},
|
|
{
|
|
'title': 'Request to go live and turn off sending restrictions',
|
|
'link': url_for('.request_to_go_live', service_id=service_id),
|
|
'hint': 'A live service can send notifications to any phone number or email address',
|
|
} if not service.live else {
|
|
},
|
|
{
|
|
'title': 'Turn off all outgoing notifications',
|
|
'link': url_for('.status', service_id=service_id),
|
|
'destructive': True
|
|
} if service.active else {
|
|
'title': 'Restart sending notifications',
|
|
'link': url_for('.status', service_id=service_id)
|
|
},
|
|
{
|
|
'title': 'Delete this service from Notify',
|
|
'link': url_for('.delete', service_id=service_id),
|
|
'destructive': True
|
|
},
|
|
]) }}
|
|
|
|
{% endblock %}
|