From dd52f6082800c0e1f9f90592974cf9d72b41b4e6 Mon Sep 17 00:00:00 2001 From: Chris Hill Scott Date: Tue, 4 Jul 2017 14:07:43 +0100 Subject: [PATCH] Fix page titles on preview page Should match the `

` --- app/templates/views/check.html | 2 +- app/templates/views/notifications/check.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/check.html b/app/templates/views/check.html index e09bbd556..ebb207edd 100644 --- a/app/templates/views/check.html +++ b/app/templates/views/check.html @@ -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 %} diff --git a/app/templates/views/notifications/check.html b/app/templates/views/notifications/check.html index fb336b631..e9f65c00d 100644 --- a/app/templates/views/notifications/check.html +++ b/app/templates/views/notifications/check.html @@ -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 %}