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-02-08 09:23:51 +00:00
|
|
|
|
Service settings – GOV.UK Notify
|
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-03-11 07:47:46 +00:00
|
|
|
|
<h1 class="heading-large">Manage settings</h1>
|
2016-01-07 12:29:56 +00:00
|
|
|
|
|
2016-01-07 16:24:43 +00:00
|
|
|
|
{{ browse_list([
|
|
|
|
|
|
{
|
2016-01-08 16:45:48 +00:00
|
|
|
|
'title': 'Change your service name',
|
2016-01-22 14:38:10 +00:00
|
|
|
|
'link': url_for('.service_name_change', service_id=service_id)
|
2016-01-07 16:24:43 +00:00
|
|
|
|
},
|
|
|
|
|
|
{
|
2016-01-08 16:45:48 +00:00
|
|
|
|
'title': 'Request to go live and turn off sending restrictions',
|
2016-01-18 16:01:04 +00:00
|
|
|
|
'link': url_for('.service_request_to_go_live', service_id=service_id),
|
2016-01-08 16:45:48 +00:00
|
|
|
|
'hint': 'A live service can send notifications to any phone number or email address',
|
2016-01-07 16:24:43 +00:00
|
|
|
|
} if not service.live else {
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2016-01-22 14:38:10 +00:00
|
|
|
|
'title': 'Temporarily suspend API keys',
|
2016-01-18 16:01:04 +00:00
|
|
|
|
'link': url_for('.service_status_change', service_id=service_id),
|
2016-01-07 16:24:43 +00:00
|
|
|
|
'destructive': True
|
2016-01-25 10:03:41 +00:00
|
|
|
|
} if not service.active else {
|
2016-01-22 14:38:10 +00:00
|
|
|
|
'title': 'Reactivate API keys',
|
2016-01-18 16:01:04 +00:00
|
|
|
|
'link': url_for('.service_status_change', service_id=service_id)
|
2016-03-21 10:53:37 +00:00
|
|
|
|
}
|
2016-01-07 16:24:43 +00:00
|
|
|
|
]) }}
|
2015-11-30 16:16:58 +00:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|