Skip to content

Commit

Permalink
Merge pull request #48 from gisce/imp_evaluate_preheader_banner
Browse files Browse the repository at this point in the history
Evaluate preheader banner
  • Loading branch information
lcbautista authored Aug 20, 2024
2 parents 1dd1469 + 899fb9d commit 54fefc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion poweremail_generic_template/emails/generic/index.mako
Original file line number Diff line number Diff line change
Expand Up @@ -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)
%>
<html>
Expand All @@ -49,7 +50,7 @@ footer_html = get_value(cursor, uid, object.id, message=banners['generic_email_t
<div class="content">

<!-- START CENTERED WHITE CONTAINER -->
<span class="preheader">${banners['generic_email_template_preheader']}</span>
<span class="preheader">${preheader_html}</span>
<table role="presentation" class="main">

<!-- START MAIN CONTENT AREA -->
Expand Down

0 comments on commit 54fefc0

Please sign in to comment.