mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Because ‘Send text messages’ isn’t very helpful if you’re looking to edit a template. It also helps front-load the navigation, ie ‘Team’ is the first word, rather than the more generic ‘Manage’.
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/browse-list.html" import browse_list %}
|
||
|
||
{% block page_title %}
|
||
Service settings – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">Settings</h1>
|
||
|
||
{{ browse_list([
|
||
{
|
||
'title': 'Change your service name',
|
||
'link': url_for('.service_name_change', service_id=service_id)
|
||
},
|
||
{
|
||
'title': 'Request to go live and turn off sending restrictions',
|
||
'link': url_for('.service_request_to_go_live', service_id=service_id),
|
||
'hint': 'A live service can send notifications to any phone number or email address',
|
||
} if not service.live else {
|
||
},
|
||
{
|
||
'title': 'Temporarily suspend API keys',
|
||
'link': url_for('.service_status_change', service_id=service_id),
|
||
'destructive': True
|
||
} if not service.active else {
|
||
'title': 'Reactivate API keys',
|
||
'link': url_for('.service_status_change', service_id=service_id)
|
||
}
|
||
]) }}
|
||
|
||
{% endblock %}
|