aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default/submit.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-08-08 14:30:41 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-08-08 14:30:41 +0100
commit0cecc6857351bfe9a80240a8c0910debd9f8dbe9 (patch)
tree06e97dd24fae37672f2f328f5d5c73cba883892f /templates/email/default/submit.html
parent920a758bbead7d5d3709e459466d9ea34fe157ef (diff)
parentbf53b8ef979e35e18b28c924b61ccade999833d7 (diff)
Merge branch '1469-html-email-fixes'
Diffstat (limited to 'templates/email/default/submit.html')
-rw-r--r--templates/email/default/submit.html18
1 files changed, 6 insertions, 12 deletions
diff --git a/templates/email/default/submit.html b/templates/email/default/submit.html
index e5cd8f203..85511b2e4 100644
--- a/templates/email/default/submit.html
+++ b/templates/email/default/submit.html
@@ -29,26 +29,21 @@ of a local problem that they believe might require your attention.</p>
<th style="[% contact_th_style %]">Email</th>
<td style="[% contact_td_style %]"><a href="mailto:[% email | html %]">[% email | html %]</a></td>
</tr>
- [% IF phone %]
+ [%~ IF phone %]
<tr>
<th style="[% contact_th_style %]">Phone</th>
<td style="[% contact_td_style %]"><a href="tel:[% phone | html %]">[% phone | html %]</a></td>
</tr>
- [% END %]
+ [%~ END %]
</table>
<p style="[% p_style %] margin-top: 0.5em;">Replies to this message will go directly to [% name | html %], the user who reported the problem.</p>
[% end_padded_box %]
</th>
-<th style="[% td_style %][% secondary_column_style %]" id="secondary_column">
- <img style="[% map_image_style %]" src="[% inline_image(report.static_map, 'map.jpeg') %]" width="310" height="200" alt="">
- [% start_padded_box %]
- [% IF has_photo %]
- <img style="[% preview_photo_style %]" src="[% inline_image(report.get_first_image_fp) %]" alt="" align="right">
- [% END %]
+[% WRAPPER '_email_sidebar.html' object = report %]
<h2 style="[% h2_style %]">[% title | html %]</h2>
- [% IF category_line %]
+ [%~ IF category_line %]
<p style="[% secondary_p_style %]">[% category | html %]</p>
- [% END %]
+ [%~ END %]
<p style="[% secondary_p_style %]">[% detail | html %]</p>
<p style="[% secondary_p_style %]">
<strong>Location:</strong>
@@ -57,7 +52,6 @@ of a local problem that they believe might require your attention.</p>
</a>
[% IF closest_address %]<br>[% closest_address | trim | replace("\n\n", "<br>") %][% END %]
</p>
- [% end_padded_box %]
-</th>
+[% END %]
[% INCLUDE '_email_bottom.html' %]