Merge pull request #1355 from alphagov/fix-page-title-notification

Fix page title on notification page
This commit is contained in:
Chris Hill-Scott
2017-07-06 14:08:37 +01:00
committed by GitHub
14 changed files with 38 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
{% extends "withoutnav_template.html" %}
{% block per_page_title %}Page not found{% endblock %}
{% block per_page_title %}Page could not be found{% endblock %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">

View File

@@ -14,7 +14,7 @@
{% endmacro %}
{% block service_page_title %}
{{ "Error" if errors else "Preview" }}
{{ "Error" if errors else "Preview of {}".format(template.name) }}
{% endblock %}
{% block maincolumn_content %}

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" }}
{{ "Error" if error else "Preview of {}".format(template.name) }}
{% endblock %}
{% block maincolumn_content %}

View File

@@ -5,7 +5,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block service_page_title %}
Report
{{ message_count_label(1, template.template_type, suffix='') | capitalize }}
{% endblock %}
{% block maincolumn_content %}