Files
notifications-admin/app/templates/views/templates/action_blocked.html
2017-07-10 12:12:41 +01:00

48 lines
1.3 KiB
HTML

{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-footer.html" import page_footer %}
{% block service_page_title %}
Emails
{% endblock %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-five-sixths">
<h1 class="heading-large">{{ notification_type.capitalize() }} are disabled</h1>
<p>
Sending {{ notification_type }} has been disabled for your service.
</p>
<p>
If you need to send {{ notification_type }}
<a href="{{ url_for('.support') }}">get in touch with the GOV.UK Notify team</a>.
</p>
{% set
back_link_dict = {
'add_new_template': {
'url' : '.add_template_by_type', 'text': 'Back to add new template'
},
'templates': {
'url' : '.choose_template', 'text' : 'Back to templates'
},
'view_template': {
'url' :'.view_template', 'text' : 'Back to the template'
}
}
%}
{{ page_footer(
back_link=url_for(
back_link_dict[return_to]['url'],
service_id=current_service.id,
template_id=template_id),
back_link_text=back_link_dict[return_to]['text']
) }}
</div>
</div>
{% endblock %}