diff --git a/webtools/bugzilla/Bugzilla/Template.pm b/webtools/bugzilla/Bugzilla/Template.pm index edfc037c62ea..5cf9bce9c63b 100644 --- a/webtools/bugzilla/Bugzilla/Template.pm +++ b/webtools/bugzilla/Bugzilla/Template.pm @@ -642,6 +642,12 @@ sub create { 1 ], + bug_list_link => sub + { + my $buglist = shift; + return join(", ", map(get_bug_link($_, $_), split(/ *, */, $buglist))); + }, + # In CSV, quotes are doubled, and any value containing a quote or a # comma is enclosed in quotes. csv => sub diff --git a/webtools/bugzilla/template/en/default/bug/activity/table.html.tmpl b/webtools/bugzilla/template/en/default/bug/activity/table.html.tmpl index 2a96b8689f29..31556623d344 100644 --- a/webtools/bugzilla/template/en/default/bug/activity/table.html.tmpl +++ b/webtools/bugzilla/template/en/default/bug/activity/table.html.tmpl @@ -17,6 +17,7 @@ # Rights Reserved. # # Contributor(s): Gervase Markham + # David D. Kilzer #%] [%# INTERFACE: @@ -85,6 +86,9 @@ [% status_descs.${change.removed} FILTER html %] [% ELSIF change.fieldname == 'resolution' %] [% resolution_descs.${change.removed} FILTER html %] + [% ELSIF change.fieldname == 'blocked' || + change.fieldname == 'dependson' %] + [% change.removed FILTER bug_list_link FILTER none %] [% ELSE %] [% change.removed FILTER html %] [% END %] @@ -102,6 +106,9 @@ [% status_descs.${change.added} FILTER html %] [% ELSIF change.fieldname == 'resolution' %] [% resolution_descs.${change.added} FILTER html %] + [% ELSIF change.fieldname == 'blocked' || + change.fieldname == 'dependson' %] + [% change.added FILTER bug_list_link FILTER none %] [% ELSE %] [% change.added FILTER html %] [% END %]