]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 314659: Provide more information for the Atom summary - Patch by Frédéric Bucli...
authorlpsolit%gmail.com <>
Tue, 27 Feb 2007 00:14:32 +0000 (00:14 +0000)
committerlpsolit%gmail.com <>
Tue, 27 Feb 2007 00:14:32 +0000 (00:14 +0000)
buglist.cgi
template/en/default/list/list.atom.tmpl

index 122a917de2f3d363d54cb451708554d7ea019468..948916d0fbcf348db0d8a70359638968919e7805 100755 (executable)
@@ -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);
index 837c70b9a62acb8ace634a6d40d956c035b758c7..630f046385b85ffa2e01f4e4e33bd368daa42966 100644 (file)
       <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>