Files
notifications-admin/app/templates/views/service-settings.html
Chris Hill-Scott 0b62d1e755 Add confirm loop
For pages where
- we want you to be sure that you want to do what you’re about to do
- we want to be sure it’s you trying to do the thing

This adds a page that asks the user to confirm their password.
2016-01-08 14:59:30 +00:00

40 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% 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 called {}'.format(service.name)
},
{
'title': 'Request to make service live',
'link': url_for('.request_to_go_live'),
'hint': 'A live service can send messages to any phone number or email address',
} if not service.live else {
},
{
'title': 'Turn off outgoing messages',
'link': url_for('.status'),
'destructive': True
} if service.active else {
'title': 'Desuspend service',
'link': url_for('.status')
},
{
'title': 'Delete service',
'link': url_for('.delete'),
'destructive': True
},
]) }}
{% endblock %}