From 79dd481670c0a1d3862062121a8ed9190f4a0edb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 27 Feb 2007 00:14:32 +0000 Subject: Bug 314659: Provide more information for the Atom summary - Patch by Frédéric Buclin r=bkor a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 6 +++++- template/en/default/list/list.atom.tmpl | 37 ++++++++++++++++++++++++--------- 2 files changed, 32 insertions(+), 11 deletions(-) diff --git a/buglist.cgi b/buglist.cgi index 122a917de..948916d0f 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 837c70b9a..630f04638 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 %] + + + + -- cgit v1.2.3-24-g4f1b
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 -%]