aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default/alert-update.html
blob: ea24930b813f5fa015fbfe5e9e41f2f8fc88e07b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[%

title = title | html;
email_summary = "New updates on “" _ title _ "”";
email_columns = 2;

PROCESS '_email_settings.html';

INCLUDE '_email_top.html';

%]

<th style="[% td_style %][% primary_column_style %]" id="primary_column">
  [% start_padded_box %]
  <h1 style="[% h1_style %]">New updates on <a href="[% problem_url %]">[% title %]</a></h1>
  [%~ INCLUDE '_email_comment_list.html' %]
  <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Unsubscribe from alerts about this report</a></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 photo %]
    <img style="[% preview_photo_style %]" src="[% inline_image(report.get_first_image_fp) %]" alt="" align="right">
  [%~ END %]
    <h2 style="[% h2_style %]">[% title | html %]</h2>
    <p style="[% secondary_p_style %]">[% detail | html %]</p>
  [% end_padded_box %]
</th>

[% INCLUDE '_email_bottom.html' %]