mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-25 18:01:14 +00:00
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17563 e93f8b46-1217-0410-a6f0-8f06a7374b81
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
<% if @statuses.empty? or rows.empty? %>
|
|
<p><i><%=l(:label_no_data)%></i></p>
|
|
<% else %>
|
|
<table class="list issue-report">
|
|
<thead><tr>
|
|
<th></th>
|
|
<% for status in @statuses %>
|
|
<th><%= status.name %></th>
|
|
<% end %>
|
|
<th><strong><%=l(:label_open_issues_plural)%></strong></th>
|
|
<th><strong><%=l(:label_closed_issues_plural)%></strong></th>
|
|
<th><strong><%=l(:label_total)%></strong></th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<% for row in rows %>
|
|
<tr>
|
|
<td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row, :subproject_id => nil) %></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, :subproject_id => nil) %></td>
|
|
<% end %>
|
|
<td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o", :subproject_id => nil) %></td>
|
|
<td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c", :subproject_id => nil) %></td>
|
|
<td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*", :subproject_id => nil) %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<% end %>
|