aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default/problem-confirm.html
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2017-08-01 17:06:08 +0100
committerZarino Zappia <mail@zarino.co.uk>2017-08-03 12:54:51 +0100
commita978842dd64094d7f70a7558a56e297d91b4e982 (patch)
treed18617b7dbe1a13a547df5c5cb9fdf69bf687084 /templates/email/default/problem-confirm.html
parentea09d938ea5fb1a09eaef9804ce0eef4594f8ac1 (diff)
Make map image in HTML emails clickable
Emails that contain a report’s title, description, and location in the ”sidebar” will now have a map that takes you to the report’s web page when clicked. Fixes #1596. Thanks to @MyfanwyNixon for the suggestion!
Diffstat (limited to 'templates/email/default/problem-confirm.html')
-rw-r--r--templates/email/default/problem-confirm.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/email/default/problem-confirm.html b/templates/email/default/problem-confirm.html
index f69449b52..904cf7777 100644
--- a/templates/email/default/problem-confirm.html
+++ b/templates/email/default/problem-confirm.html
@@ -25,7 +25,7 @@ of problem, so it will instead be sent to [% report.body %].
<p style="[% p_style %]">If you no longer wish to send this report, please take no further action.</p>
[% end_padded_box %]
</th>
-[% WRAPPER '_email_sidebar.html' object = report %]
+[% WRAPPER '_email_sidebar.html' object = report, url = token_url %]
<h2 style="[% h2_style %]">[% report.title | html %]</h2>
<p style="[% secondary_p_style %]">[% report.detail | html %]</p>
[% END %]