aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default/alert-update.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/email/default/alert-update.html')
-rw-r--r--templates/email/default/alert-update.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/email/default/alert-update.html b/templates/email/default/alert-update.html
index 8c392685d..a2f1c69a9 100644
--- a/templates/email/default/alert-update.html
+++ b/templates/email/default/alert-update.html
@@ -1,6 +1,6 @@
[%
-title = title | html;
+title = report.title | html;
email_summary = "New updates on “" _ title _ "”";
email_columns = 2;
@@ -14,12 +14,14 @@ INCLUDE '_email_top.html';
[% start_padded_box %]
<h1 style="[% h1_style %]">New updates on <a href="[% problem_url %]">[% title %]</a></h1>
[%~ INCLUDE '_email_comment_list.html' %]
+ [% UNLESS hide_unsubscribe %]
<p style="[% p_style %]"><a href="[% unsubscribe_url %]">Unsubscribe from alerts about this report</a></p>
+ [% END %]
[% end_padded_box %]
</th>
[% WRAPPER '_email_sidebar.html' object = report %]
- <h2 style="[% h2_style %]">[% title | html %]</h2>
- <p style="[% secondary_p_style %]">[% detail | html %]</p>
+ <h2 style="[% h2_style %]">[% report.title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% report.detail | html %]</p>
[% END %]
[% INCLUDE '_email_bottom.html' %]