Files
notifications-admin/app/templates/views/service-settings.html
Nicholas Staples c31c55666b Added current_service to flask context and template context.
Fix all tests and conflicts.

Removed comment line.
2016-04-04 17:01:20 +01:00

34 lines
1.1 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 %}
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 sending restrictions',
'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 not current_service.live 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)
}
]) }}
{% endblock %}