Files
notifications-admin/app/templates/views/service-settings.html
Chris Hill-Scott 3989d1b576 Add pages for ‘service settings’ flow
Adds the pages and wires them together, so that it’s possible to click
through them.

The wording is not quite English, but attempts to be an rough description of
what the consequences are for each of the four actions.
2016-01-08 14:56:14 +00:00

40 lines
945 B
HTML

{% extends "withnav_template.html" %}
{% from "components/browse-list.html" import browse_list %}
{% block page_title %}
GOV.UK Notify | Service settings
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-xlarge">Service settings</h1>
{{ 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 %}