From 899fb9da8ee2226e83995976fcac0da193a71b1c Mon Sep 17 00:00:00 2001 From: Gerard Parareda Date: Mon, 19 Aug 2024 15:42:04 +0200 Subject: [PATCH] IMP Evaluate preheader banner --- poweremail_generic_template/emails/generic/index.mako | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poweremail_generic_template/emails/generic/index.mako b/poweremail_generic_template/emails/generic/index.mako index 2dc4a3a..4cb62ea 100644 --- a/poweremail_generic_template/emails/generic/index.mako +++ b/poweremail_generic_template/emails/generic/index.mako @@ -29,6 +29,7 @@ ctx = { ctx.update(env) body_html = get_value(cursor, uid, object.id, message=banners['generic_email_template_body'], template=template, context=ctx) +preheader_html = get_value(cursor, uid, object.id, message=banners['generic_email_template_preheader'], template=template, context=ctx) footer_html = get_value(cursor, uid, object.id, message=banners['generic_email_template_footer'], template=template, context=ctx) %> @@ -49,7 +50,7 @@ footer_html = get_value(cursor, uid, object.id, message=banners['generic_email_t
- ${banners['generic_email_template_preheader']} + ${preheader_html}