diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-03 09:59:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-03 09:59:03 +0000 |
commit | 49fcec80b7eb42debb749b7eef27b315c137d19f (patch) | |
tree | 36c336301429ef1eadd6d47e6031932b8a1a1a00 /app/views/reports | |
parent | 826e978806bbe80d266c1ebdda64fd84b0f5208a (diff) | |
download | redmine-49fcec80b7eb42debb749b7eef27b315c137d19f.tar.gz redmine-49fcec80b7eb42debb749b7eef27b315c137d19f.zip |
Reverts r16051 and r16050 for now (#15361).
git-svn-id: http://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports')
-rw-r--r-- | app/views/reports/_details.html.erb | 5 | ||||
-rw-r--r-- | app/views/reports/_simple.html.erb | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/app/views/reports/_details.html.erb b/app/views/reports/_details.html.erb index 998089caf..ab7fe3620 100644 --- a/app/views/reports/_details.html.erb +++ b/app/views/reports/_details.html.erb @@ -13,7 +13,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> <% for status in @statuses %> <td><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td> @@ -25,4 +25,5 @@ <% end %> </tbody> </table> -<% end %> +<% end + reset_cycle %> 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 %> |