{% extends "withnav_template.html" %} {% from "components/banner.html" import banner_wrapper %} {% from "components/folder-path.html" import folder_path %} {% from "components/page-footer.html" import page_footer %} {% from "components/textbox.html" import textbox %} {% from "components/api-key.html" import api_key %} {% block service_page_title %} {{ template.name }} {% endblock %} {% block maincolumn_content %} {% if show_redaction_message %}
{% call banner_wrapper(type='dangerous', subhead='Are you sure you want to hide personalisation after sending?') %}
{% endcall %}
{% else %}
{{ folder_path( folders=current_service.get_template_path(template._template), service_id=current_service.id, template_type='all', fallback_page_title=template.name, show_fallback_page_title=not current_service.all_template_folders ) }}
{% endif %}
{% include 'views/templates/_template.html' %}
{{ api_key(template.id, name="Template ID", thing='template ID') }}
{% if template._template.updated_at %}

Last edited

See previous versions
{% endif %} {% if current_user.has_permissions('manage_templates') %} {% if not template._template.archived %} Delete this template   {% endif %} {% if template.template_type != 'letter' %} {% if not template._template.redact_personalisation %} Hide personalisation after sending {% else %}

Personalisation is hidden after sending

{% endif %} {% endif %} {% endif %}
{% endblock %}