]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 691697: There is no link pointing to the new bug in HTML bugmails
authorFrédéric Buclin <LpSolit@gmail.com>
Sat, 15 Oct 2011 11:55:01 +0000 (13:55 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 15 Oct 2011 11:55:01 +0000 (13:55 +0200)
r=pyrzak a=LpSolit

template/en/default/email/bugmail.html.tmpl

index f48667e7b157c15216225145c693d56555c24a53..ac4727811883f9b13a22c602825f5fc04d936a4e 100644 (file)
       [% 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>