diff options
-rwxr-xr-x | buglist.cgi | 6 | ||||
-rw-r--r-- | 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 @@ <table> <tr> <th>Field</th><th>Value</th> - </tr><tr> - <td>[% columns.opendate.title FILTER html %]</td> - <td>[% bug.opendate FILTER html %]</td> - </tr><tr> + </tr><tr class="bz_feed_product"> + <td>[% columns.product.title FILTER html %]</td> + <td>[% bug.product FILTER html %]</td> + </tr><tr class="bz_feed_component"> + <td>[% columns.component.title FILTER html %]</td> + <td>[% bug.component FILTER html %]</td> + </tr><tr class="bz_feed_assignee"> <td>[% columns.assigned_to_realname.title FILTER html %]</td> <td>[% bug.assigned_to_realname FILTER html %]</td> - </tr><tr> + </tr><tr class="bz_feed_reporter"> + <td>[% columns.reporter_realname.title FILTER html %]</td> + <td>[% bug.reporter_realname FILTER html %]</td> + </tr><tr class="bz_feed_bug_status"> + <td>[% columns.bug_status.title FILTER html %]</td> + <td>[% bug.bug_status FILTER html %]</td> + </tr><tr class="bz_feed_resolution"> + <td>[% columns.resolution.title FILTER html %] </td> + <td>[% bug.resolution FILTER html %]</td> + </tr><tr class="bz_feed_priority"> <td>[% columns.priority.title FILTER html %]</td> <td>[% bug.priority FILTER html %]</td> - </tr><tr> + </tr><tr class="bz_feed_severity"> <td>[% columns.bug_severity.title FILTER html %] </td> <td>[% bug.bug_severity FILTER html %]</td> - </tr><tr> - <td>[% columns.bug_status.title FILTER html %]</td> - <td>[% bug.bug_status FILTER html %]</td> - </tr><tr> + [% IF Param("usetargetmilestone") %] + </tr><tr class="bz_feed_target_milestone"> + <td>[% columns.target_milestone.title FILTER html %]</td> + <td>[% bug.target_milestone FILTER html %]</td> + [% END %] + </tr><tr class="bz_feed_creation_date"> + <td>[% columns.opendate.title FILTER html %]</td> + <td>[% bug.opendate FILTER html %]</td> + </tr><tr class="bz_feed_changed_date"> <td>[% columns.changeddate.title FILTER html %]</td> <td>[% bug.changeddate FILTER html -%]</td> </tr> |