Alexandre Julliard : Make the fixed by SHA1 a URL in bug lists.

Alexandre Julliard julliard at winehq.org
Sat Oct 8 09:46:57 CDT 2011


Module: bugzilla
Branch: master
Commit: a63ecd9f82ba88bb2bd27e1d77a7eb477545a45c
URL:    http://source.winehq.org/git/bugzilla.git/?a=commit;h=a63ecd9f82ba88bb2bd27e1d77a7eb477545a45c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Oct  8 16:46:00 2011 +0200

Make the fixed by SHA1 a URL in bug lists.

---

 template/en/default/list/table.html.tmpl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 2b57c4a..08fbd5f 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -214,6 +214,9 @@
       [% ELSIF column == 'cf_regression_sha1sum' && bug.cf_regression_sha1sum %]
         <a href="http://source.winehq.org/git/wine.git/commit/[% bug.cf_regression_sha1sum FILTER html %]">
           [% bug.cf_regression_sha1sum.truncate(16) FILTER html %]</a>
+      [% ELSIF column == 'cf_fixedby_sha1sum' && bug.cf_fixedby_sha1sum %]
+        <a href="http://source.winehq.org/git/wine.git/commit/[% bug.cf_fixedby_sha1sum FILTER html %]">
+          [% bug.cf_fixedby_sha1sum.truncate(16) FILTER html %]</a>
       [% ELSE %]
         [%- display_value(column, bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
       [% END %]




More information about the wine-cvs mailing list