You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_simple.html.erb 859B

12345678910111213141516171819202122
  1. <% if @statuses.empty? or rows.empty? %>
  2. <p><i><%=l(:label_no_data)%></i></p>
  3. <% else %>
  4. <table class="list issue-report">
  5. <thead><tr>
  6. <th></th>
  7. <th><%=l(:label_open_issues_plural)%></th>
  8. <th><%=l(:label_closed_issues_plural)%></th>
  9. <th><%=l(:label_total)%></th>
  10. </tr></thead>
  11. <tbody>
  12. <% for row in rows %>
  13. <tr>
  14. <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td>
  15. <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
  16. <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
  17. <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
  18. </tr>
  19. <% end %>
  20. </tbody>
  21. </table>
  22. <% end %>