From c71249a7eaec016b73aa1d464684ca6a81dc5213 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 14 Apr 2016 15:36:55 +0100 Subject: [PATCH] Show email subject on choose template page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed this before as part of truncating email previews in https://github.com/alphagov/notifications-admin/commit/3a5b76ce2a672ba5d42b4013a0274f64742eb5d7#diff-b5f54dc364655c298fd119e3bc148cc6R45 But actually trying to use the app it’s a weird inconsistency to not have the subject show everywhere. So this commit reinstates it. --- app/templates/views/templates/_template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/templates/_template.html b/app/templates/views/templates/_template.html index deb452b9e..7863ac383 100644 --- a/app/templates/views/templates/_template.html +++ b/app/templates/views/templates/_template.html @@ -4,7 +4,7 @@
{% if 'email' == template.template_type %} {{ email_message( - None, + template.formatted_subject_as_markup, template.formatted_as_markup, name=template.name if show_title else None ) }}