_simple.html.erb
23 lines
| 909 B
| text/plain
|
TextLexer
|
r330 | <% if @statuses.empty? or rows.empty? %> | ||
<p><i><%=l(:label_no_data)%></i></p> | ||||
<% else %> | ||||
|
r12038 | <table class="list issue-report"> | ||
|
r330 | <thead><tr> | ||
|
r12038 | <th></th> | ||
<th><%=l(:label_open_issues_plural)%></th> | ||||
<th><%=l(:label_closed_issues_plural)%></th> | ||||
<th><%=l(:label_total)%></th> | ||||
|
r330 | </tr></thead> | ||
<tbody> | ||||
<% for row in rows %> | ||||
<tr class="<%= cycle("odd", "even") %>"> | ||||
|
r14356 | <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td> | ||
|
r12038 | <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> | ||||
|
r330 | </tr> | ||
<% end %> | ||||
</tbody> | ||||
</table> | ||||
<% end | ||||
|
r6223 | reset_cycle %> | ||