diff options
Diffstat (limited to 'app/views/reports/_simple.html.erb')
-rw-r--r-- | app/views/reports/_simple.html.erb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/reports/_simple.html.erb b/app/views/reports/_simple.html.erb index d6f51ad19..9dca3554c 100644 --- a/app/views/reports/_simple.html.erb +++ b/app/views/reports/_simple.html.erb @@ -10,7 +10,7 @@ </tr></thead> <tbody> <% for row in rows %> -<tr> +<tr class="<%= cycle("odd", "even") %>"> <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td> <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> @@ -19,4 +19,5 @@ <% end %> </tbody> </table> -<% end %> +<% end + reset_cycle %> |