Commit 79dd4816 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 314659: Provide more information for the Atom summary - Patch by Fré©ric…

Bug 314659: Provide more information for the Atom summary - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bkor a=LpSolit
parent ca2b99c0
......@@ -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);
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment