diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-08 13:38:42 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-08 14:28:06 +0100 |
commit | bf53b8ef979e35e18b28c924b61ccade999833d7 (patch) | |
tree | 61b4836e154d7072f19a2a743d25d6af6e10b56c /templates/email/default/problem-moderated.html | |
parent | 025274d4b79c56432b0abf99983c940a6c2bd08c (diff) |
Factor out HTML email sidebar to own template.
Diffstat (limited to 'templates/email/default/problem-moderated.html')
-rw-r--r-- | templates/email/default/problem-moderated.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/templates/email/default/problem-moderated.html b/templates/email/default/problem-moderated.html index 9adaa6421..1a12446d0 100644 --- a/templates/email/default/problem-moderated.html +++ b/templates/email/default/problem-moderated.html @@ -24,15 +24,9 @@ INCLUDE '_email_top.html'; the team at <a href="[% report_complain_uri %]">[% report_complain_uri %]</a></p> [% end_padded_box %] </th> -<th style="[% td_style %][% secondary_column_style %]" id="secondary_column"> - <img style="[% map_image_style %]" src="[% inline_image(problem.static_map, 'map.jpeg') %]" width="310" height="200" alt=""> - [% start_padded_box %] - [%~ IF problem.photo %] - <img style="[% preview_photo_style %]" src="[% inline_image(problem.get_first_image_fp) %]" alt="" align="right"> - [%~ END %] +[% WRAPPER '_email_sidebar.html' object = problem %] <h2 style="[% h2_style %]">[% problem.moderation_original_data.title | html %]</h2> <p style="[% secondary_p_style %]">[% problem.moderation_original_data.detail | html %]</p> - [% end_padded_box %] -</th> +[% END %] [% INCLUDE '_email_bottom.html' %] |