mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-20 16:13:24 -04:00
This commit: - moves things around a bit on the request to go live page - sticks a textbox in there So when someone click the big green button, we will get a support ticket that looks something like: ``` From Test User <test@user.gov.uk> on behalf of Test Service (6ce466d0-fd6a-11e5-82f5-e0accb9d11a6) --- We’ll send about 1000 text messages in the first month, and then 10,000 text messages per month after that. Usage of our service is about 50% higher in March, at the end of the tax year. ```
42 lines
1.5 KiB
HTML
42 lines
1.5 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=current_service.id)
|
||
},
|
||
{
|
||
'title': 'Request to go live and turn off trial mode',
|
||
'link': url_for('.service_request_to_go_live', service_id=current_service.id),
|
||
'hint': 'A live service can send notifications to any phone number or email address',
|
||
} if current_service.restricted else {
|
||
},
|
||
{
|
||
'title': 'Temporarily suspend API keys',
|
||
'link': url_for('.service_status_change', service_id=current_service.id),
|
||
'destructive': True
|
||
} if not current_service.active else {
|
||
'title': 'Reactivate API keys',
|
||
'link': url_for('.service_status_change', service_id=current_service.id)
|
||
},
|
||
{
|
||
'title': 'Make service live',
|
||
'link': url_for('.service_switch_live', service_id=current_service.id)
|
||
} if current_service.restricted and current_user.has_permissions([], admin_override=True) else {
|
||
'title': 'Revert service to trial',
|
||
'link': url_for('.service_switch_live', service_id=current_service.id)
|
||
} if not current_service.restricted and current_user.has_permissions([], admin_override=True) else {
|
||
},
|
||
]) }}
|
||
|
||
{% endblock %}
|