Files
notifications-admin/app/templates/views/service-settings.html
T

34 lines
1.0 KiB
HTML
Raw Normal View History

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 %}
{% block page_title %}
2016-02-08 09:23:51 +00:00
Service settings GOV.UK Notify
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
<h1 class="heading-large">Manage settings</h1>
2015-12-14 16:53:07 +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
} 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
]) }}
{% endblock %}