Module: bugzilla Branch: master Commit: ea4302dd1afc72b1edb0039222c4bb7c2b7af7e9 URL: https://source.winehq.org/git/bugzilla.git/?a=commit;h=ea4302dd1afc72b1edb00...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Jul 8 12:14:26 2022 +0200
Use Gitlab for commit URLs.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
template/en/default/bug/edit.html.tmpl | 4 ++-- template/en/default/list/table.html.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 5685dc3..7cf3932 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -904,12 +904,12 @@ <tr> [% IF field.name == 'cf_regression_sha1sum' && bug.${field.name} %] [% PROCESS bug/field.html.tmpl value = bug.${field.name} - desc_url = "//source.winehq.org/git/wine.git/commit/${bug.cf_regression_sha1sum}" + desc_url = "https://gitlab.winehq.org/wine/wine/-/commit/$%7Bbug.cf_regression_sha1sum%7..." 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 = "//source.winehq.org/git/wine.git/commit/${bug.cf_fixedby_sha1sum}" + desc_url = "https://gitlab.winehq.org/wine/wine/-/commit/$%7Bbug.cf_fixedby_sha1sum%7D" editable = bug.check_can_change_field(field.name, 0, 1) value_span = 2 %] [% ELSIF field.name == 'cf_staged_patchset' && bug.${field.name} && is_safe_url("${bug.cf_staged_patchset}") %] diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 21f7713..a68b14c 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -199,10 +199,10 @@ [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] </a> [% ELSIF column == 'cf_regression_sha1sum' && bug.cf_regression_sha1sum %] - <a href="//source.winehq.org/git/wine.git/commit/[% bug.cf_regression_sha1sum FILTER html %]"> + <a href="https://gitlab.winehq.org/wine/wine/-/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="//source.winehq.org/git/wine.git/commit/[% bug.cf_fixedby_sha1sum FILTER html %]"> + <a href="https://gitlab.winehq.org/wine/wine/-/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 -%]