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

40 lines
1.2 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-01-07 16:24:43 +00:00
GOV.UK Notify | Service settings
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
2016-01-07 16:24:43 +00:00
<h1 class="heading-xlarge">Service 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('.name', service_id=service_id),
'hint': 'Your service name ({}) is included in every sent notification'.format(service.name)
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('.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-08 16:45:48 +00:00
'title': 'Turn off all outgoing notifications',
'link': url_for('.status', service_id=service_id),
2016-01-07 16:24:43 +00:00
'destructive': True
} if service.active else {
2016-01-08 16:45:48 +00:00
'title': 'Restart sending notifications',
'link': url_for('.status', service_id=service_id)
2016-01-07 16:24:43 +00:00
},
{
2016-01-08 16:45:48 +00:00
'title': 'Delete this service from Notify',
'link': url_for('.delete', service_id=service_id),
2016-01-07 16:24:43 +00:00
'destructive': True
},
]) }}
{% endblock %}