Alexandre Julliard : Make the fixed by SHA1 a URL in the edit form.
Alexandre Julliard
julliard at winehq.org
Sat Oct 8 09:46:57 CDT 2011
Module: bugzilla
Branch: master
Commit: c358ec715d4d2b4e1a041df3f9ea7465f5f8947b
URL: http://source.winehq.org/git/bugzilla.git/?a=commit;h=c358ec715d4d2b4e1a041df3f9ea7465f5f8947b
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Oct 8 16:45:52 2011 +0200
Make the fixed by SHA1 a URL in the edit form.
---
template/en/default/bug/edit.html.tmpl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 04a0c5f..8576189 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -929,6 +929,11 @@
desc_url = "http://source.winehq.org/git/wine.git/commit/${bug.cf_regression_sha1sum}"
editable = bug.check_can_change_field(field.name, 0, 1)
value_span = 2 %]
+ [% ELSIF field.name == 'cf_fixedby_sha1sum' && bug.${field.name} %]
+ [% PROCESS bug/field.html.tmpl value = bug.${field.name}
+ desc_url = "http://source.winehq.org/git/wine.git/commit/${bug.cf_fixedby_sha1sum}"
+ editable = bug.check_can_change_field(field.name, 0, 1)
+ value_span = 2 %]
[% ELSE %]
[% PROCESS bug/field.html.tmpl value = bug.${field.name}
editable = bug.check_can_change_field(field.name, 0, 1)
More information about the wine-cvs
mailing list