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

Alexandre Julliard julliard at winehq.org
Fri Sep 23 06:09:08 CDT 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Sep 23 12:25:38 2011 +0200

Make the regression 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 d23d4c6..331f402 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -208,6 +208,9 @@
         [% bug.${login_column}.truncate(abbrev.$column.maxlength, 
                                         abbrev.$column.ellipsis) FILTER html %]
 
+      [% 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>
       [% ELSE %]
         [%- display_value(column, bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
       [% END %]




More information about the wine-cvs mailing list