2015-12-14 16:53:07 +00:00
|
|
|
|
{% extends "withnav_template.html" %}
|
2016-01-07 12:29:56 +00:00
|
|
|
|
{% from "components/browse-list.html" import browse_list %}
|
2015-11-30 16:16:58 +00:00
|
|
|
|
|
|
|
|
|
|
{% block page_title %}
|
2016-01-07 16:24:43 +00:00
|
|
|
|
GOV.UK Notify | Service settings
|
2015-11-30 16:16:58 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
2015-12-14 16:53:07 +00:00
|
|
|
|
{% block maincolumn_content %}
|
2015-11-30 16:16:58 +00:00
|
|
|
|
|
2016-01-07 16:24:43 +00:00
|
|
|
|
<h1 class="heading-xlarge">Service settings</h1>
|
2016-01-07 12:29:56 +00:00
|
|
|
|
|
2016-01-07 16:24:43 +00:00
|
|
|
|
{{ browse_list([
|
|
|
|
|
|
{
|
|
|
|
|
|
'title': 'Rename service',
|
|
|
|
|
|
'link': url_for('.name'),
|
|
|
|
|
|
'hint': 'Your service is called ‘{}’'.format(service.name)
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
'title': 'Request to make service live',
|
|
|
|
|
|
'link': url_for('.request_to_go_live'),
|
|
|
|
|
|
'hint': 'A live service can send messages to any phone number or email address',
|
|
|
|
|
|
} if not service.live else {
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
'title': 'Turn off outgoing messages',
|
|
|
|
|
|
'link': url_for('.status'),
|
|
|
|
|
|
'destructive': True
|
|
|
|
|
|
} if service.active else {
|
|
|
|
|
|
'title': 'Desuspend service',
|
|
|
|
|
|
'link': url_for('.status')
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
'title': 'Delete service',
|
|
|
|
|
|
'link': url_for('.delete'),
|
|
|
|
|
|
'destructive': True
|
|
|
|
|
|
},
|
|
|
|
|
|
]) }}
|
2015-11-30 16:16:58 +00:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|