summaryrefslogtreecommitdiffstats
path: root/template
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 /template
parent50ac3a20d4ad72e5834deb86f3b1614e473aefac (diff)
downloadbugzilla-bbdce8cfde708e70984702246ad7b9723680aa8e.tar.gz
bugzilla-bbdce8cfde708e70984702246ad7b9723680aa8e.tar.xz
Bug 691697: There is no link pointing to the new bug in HTML bugmails
r=pyrzak a=LpSolit
Diffstat (limited to 'template')
-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>