aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-10-15 13:53:19 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-10-15 13:53:19 +0200
commitbbdce8cfde708e70984702246ad7b9723680aa8e (patch)
tree6ae836bf0db774c0d268b66d9c2eebfefa5cea78
parent50ac3a20d4ad72e5834deb86f3b1614e473aefac (diff)
downloadbugs-bbdce8cfde708e70984702246ad7b9723680aa8e.tar
bugs-bbdce8cfde708e70984702246ad7b9723680aa8e.tar.gz
bugs-bbdce8cfde708e70984702246ad7b9723680aa8e.tar.bz2
bugs-bbdce8cfde708e70984702246ad7b9723680aa8e.tar.xz
bugs-bbdce8cfde708e70984702246ad7b9723680aa8e.zip
Bug 691697: There is no link pointing to the new bug in HTML bugmails
r=pyrzak a=LpSolit
-rw-r--r--template/en/default/email/bugmail.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 824bdc5bf..607c38a1e 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -96,7 +96,13 @@
[% IF isnew %]
<tr>
<th>[% field_label FILTER html %]</th>
- <td>[% new_value FILTER html %]</td>
+ <td>
+ [% IF change.field_name == "bug_id" %]
+ [% new_value FILTER bug_link(bug, full_url => 1) FILTER none %]
+ [% ELSE %]
+ [% new_value FILTER html %]
+ [% END %]
+ </td>
</tr>
[% ELSE %]
<tr>