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

40 lines
945 B
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 %}
GOV.UK Notify | Service settings
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
2016-01-07 12:29:56 +00:00
<h1 class="heading-xlarge">Service settings</h1>
2015-12-14 16:53:07 +00:00
2016-01-07 12:29:56 +00:00
{{ browse_list([
{
'title': 'Rename service',
'link': url_for('.name'),
'hint': 'Your service is named “{}”'.format(service.name)
},
{
'title': 'Make service live',
'link': url_for('.request_to_go_live'),
'hint': 'A live service can send messages to anyone',
} if not service.live else {
},
{
'title': 'Stop sending messages',
'link': url_for('.status')
} if service.active else {
'title': 'Unsuspend service',
'link': url_for('.status')
},
{
'title': 'Delete everything',
'link': url_for('.delete'),
'hint': '',
'destructive': True
},
]) }}
{% endblock %}