aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/email/default/alert-update.html2
-rw-r--r--templates/email/default/alert-update.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/email/default/alert-update.html b/templates/email/default/alert-update.html
index c1a7562cd..24d1b9834 100644
--- a/templates/email/default/alert-update.html
+++ b/templates/email/default/alert-update.html
@@ -14,7 +14,9 @@ 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 %]
diff --git a/templates/email/default/alert-update.txt b/templates/email/default/alert-update.txt
index 2883fee5e..cfeba2e36 100644
--- a/templates/email/default/alert-update.txt
+++ b/templates/email/default/alert-update.txt
@@ -19,6 +19,7 @@ please do not reply to it.
[% signature %]
+[% IF NOT hide_unsubscribe %]
Unsubscribe?
We currently email you whenever someone leaves an update on the
@@ -26,3 +27,4 @@ We currently email you whenever someone leaves an update on the
If you no longer wish to receive an email whenever this report is updated,
please follow this link: [% unsubscribe_url %]
+[% END %]