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

34 lines
1.1 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 %}
2016-04-01 10:42:23 +01:00
<h1 class="heading-large">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',
'link': url_for('.service_name_change', service_id=current_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',
'link': url_for('.service_request_to_go_live', service_id=current_service.id),
2016-01-08 16:45:48 +00:00
'hint': 'A live service can send notifications to any phone number or email address',
} if not current_service.live else {
2016-01-07 16:24:43 +00:00
},
{
2016-01-22 14:38:10 +00:00
'title': 'Temporarily suspend API keys',
'link': url_for('.service_status_change', service_id=current_service.id),
2016-01-07 16:24:43 +00:00
'destructive': True
} if not current_service.active else {
2016-01-22 14:38:10 +00:00
'title': 'Reactivate API keys',
'link': url_for('.service_status_change', service_id=current_service.id)
2016-03-21 10:53:37 +00:00
}
2016-01-07 16:24:43 +00:00
]) }}
{% endblock %}