From: lpsolit%gmail.com <> Date: Tue, 27 Feb 2007 00:14:32 +0000 (+0000) Subject: Bug 314659: Provide more information for the Atom summary - Patch by Frédéric Bucli... X-Git-Tag: bugzilla-3.1.2~328 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79dd481670c0a1d3862062121a8ed9190f4a0edb;p=thirdparty%2Fbugzilla.git Bug 314659: Provide more information for the Atom summary - Patch by Frédéric Buclin r=bkor a=LpSolit --- diff --git a/buglist.cgi b/buglist.cgi index 122a917de2..948916d0fb 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -772,8 +772,12 @@ if ($format->{'extension'} eq 'atom') { 'priority', 'bug_severity', 'assigned_to_realname', - 'bug_status' + 'bug_status', + 'product', + 'component', + 'resolution' ); + push(@required_atom_columns, 'target_milestone') if Bugzilla->params->{'usetargetmilestone'}; foreach my $required (@required_atom_columns) { push(@selectcolumns, $required) if !grep($_ eq $required,@selectcolumns); diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl index 837c70b9a6..630f046385 100644 --- a/template/en/default/list/list.atom.tmpl +++ b/template/en/default/list/list.atom.tmpl @@ -61,22 +61,39 @@ - - - - + + + + + + + - + + + + + + + + + + - + - - - - + [% IF Param("usetargetmilestone") %] + + + + [% END %] + + + +
FieldValue
[% columns.opendate.title FILTER html %][% bug.opendate FILTER html %]
[% columns.product.title FILTER html %][% bug.product FILTER html %]
[% columns.component.title FILTER html %][% bug.component FILTER html %]
[% columns.assigned_to_realname.title FILTER html %] [% bug.assigned_to_realname FILTER html %]
[% columns.reporter_realname.title FILTER html %][% bug.reporter_realname FILTER html %]
[% columns.bug_status.title FILTER html %][% bug.bug_status FILTER html %]
[% columns.resolution.title FILTER html %] [% bug.resolution FILTER html %]
[% columns.priority.title FILTER html %] [% bug.priority FILTER html %]
[% columns.bug_severity.title FILTER html %] [% bug.bug_severity FILTER html %]
[% columns.bug_status.title FILTER html %][% bug.bug_status FILTER html %]
[% columns.target_milestone.title FILTER html %][% bug.target_milestone FILTER html %]
[% columns.opendate.title FILTER html %][% bug.opendate FILTER html %]
[% columns.changeddate.title FILTER html %] [% bug.changeddate FILTER html -%]