Make it clear which template you’re sending

The one downside of skipping the template page is that you no longer
get such strong confirmation that you’ve picked the correct template.
You still see the preview of the template, but it’s further down the
page, and the name of the template has disappeared.

This commit adds the name of the template to the page title, to:
- have some continuity from the previous page
- make it easier to double-check you’ve chosen the correct template
This commit is contained in:
Chris Hill-Scott
2018-08-06 11:20:50 +01:00
parent 147ea75177
commit e34ca2a8ee
4 changed files with 12 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
{% from "components/message-count-label.html" import message_count_label %}
{% block service_page_title %}
{{ "Error" if error else "Preview of {}".format(template.name) }}
{{ "Error" if error else "Preview of {}".format(template.name) }}
{% endblock %}
{% block maincolumn_content %}
@@ -35,7 +35,7 @@
</div>
{% else %}
<h1 class="heading-large">
Preview of {{ template.name }}
Preview of {{ template.name }}
</h1>
{% endif %}