mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
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.
40 lines
945 B
HTML
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 %}
|