summaryrefslogtreecommitdiffstats
path: root/redmine/app/views/reports/_simple.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'redmine/app/views/reports/_simple.rhtml')
-rw-r--r--redmine/app/views/reports/_simple.rhtml19
1 files changed, 4 insertions, 15 deletions
diff --git a/redmine/app/views/reports/_simple.rhtml b/redmine/app/views/reports/_simple.rhtml
index 6838735ed..3be1281c5 100644
--- a/redmine/app/views/reports/_simple.rhtml
+++ b/redmine/app/views/reports/_simple.rhtml
@@ -1,16 +1,12 @@
<% if @statuses.empty? or rows.empty? %>
<p><i><%=l(:label_no_data)%></i></p>
<% else %>
-<% col_width = 70 / (@statuses.length+3) %>
-<table border="0" cellspacing="1" cellpadding="2" width="100%">
+<table class="reportTableContent">
<tr>
<td width="25%"></td>
-<% for status in @statuses %>
- <td align="center" width="<%= col_width %>%" bgcolor="#<%= status.html_color %>"><small><%= status.name %></small></td>
-<% end %>
-<td align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></td>
-<td align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></td>
-<td align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></td>
+<td align="center" width="25%"><%=l(:label_open_issues_plural)%></td>
+<td align="center" width="25%"><%=l(:label_closed_issues_plural)%></td>
+<td align="center" width="25%"><%=l(:label_total)%></td>
</tr>
<% for row in rows %>
@@ -18,13 +14,6 @@
<td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
:set_filter => 1,
"#{field_name}" => row.id %></td>
- <% for status in @statuses %>
- <td align="center"><%= link_to (aggregate data, { field_name => row.id, "status_id" => status.id }),
- :controller => 'projects', :action => 'list_issues', :id => @project,
- :set_filter => 1,
- "status_id" => status.id,
- "#{field_name}" => row.id %></td>
- <% end %>
<td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }),
:controller => 'projects', :action => 'list_issues', :id => @project,
:set_filter => 1,