summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-10-15 13:55:01 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-10-15 13:55:01 +0200
commit2a35b3a039ad2d5d660cc2f0f81c30f3b067e461 (patch)
tree18a5ede6ba02b747d532e660227cff7844aff18c
parent7959e23b02affe5927090c3d1f08b18c37b40682 (diff)
downloadbugzilla-2a35b3a039ad2d5d660cc2f0f81c30f3b067e461.tar.gz
bugzilla-2a35b3a039ad2d5d660cc2f0f81c30f3b067e461.tar.xz
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 f48667e7b..ac4727811 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>