]> 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:53:19 +0000 (13:53 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 15 Oct 2011 11:53:19 +0000 (13:53 +0200)
r=pyrzak a=LpSolit

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

index 824bdc5bf5b946379961a9b6bb7a03ad7587ac71..607c38a1ec5faddea583f76253b3bd5ae0c6bcf5 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>