2007-03-12 20:59:02 +03:00
|
|
|
<% if @statuses.empty? or rows.empty? %>
|
|
|
|
<p><i><%=l(:label_no_data)%></i></p>
|
|
|
|
<% else %>
|
2013-11-12 01:01:21 +04:00
|
|
|
<table class="list issue-report">
|
2007-03-12 20:59:02 +03:00
|
|
|
<thead><tr>
|
2013-11-12 01:01:21 +04:00
|
|
|
<th></th>
|
|
|
|
<th><%=l(:label_open_issues_plural)%></th>
|
|
|
|
<th><%=l(:label_closed_issues_plural)%></th>
|
|
|
|
<th><%=l(:label_total)%></th>
|
2007-03-12 20:59:02 +03:00
|
|
|
</tr></thead>
|
|
|
|
<tbody>
|
|
|
|
<% for row in rows %>
|
|
|
|
<tr class="<%= cycle("odd", "even") %>">
|
2013-11-12 01:01:21 +04:00
|
|
|
<td class="name"><%= link_to h(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>
|
|
|
|
<td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
|
2007-03-12 20:59:02 +03:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<% end
|
2011-08-02 16:41:14 +04:00
|
|
|
reset_cycle %>
|