Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_details.html.erb 1.3KB

12345678910111213141516171819202122232425262728
  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. <% for status in @statuses %>
  8. <th><%= status.name %></th>
  9. <% end %>
  10. <th><strong><%=l(:label_open_issues_plural)%></strong></th>
  11. <th><strong><%=l(:label_closed_issues_plural)%></strong></th>
  12. <th><strong><%=l(:label_total)%></strong></th>
  13. </tr></thead>
  14. <tbody>
  15. <% for row in rows %>
  16. <tr>
  17. <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row, :subproject_id => nil) %></td>
  18. <% for status in @statuses %>
  19. <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>
  20. <% end %>
  21. <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o", :subproject_id => nil) %></td>
  22. <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c", :subproject_id => nil) %></td>
  23. <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*", :subproject_id => nil) %></td>
  24. </tr>
  25. <% end %>
  26. </tbody>
  27. </table>
  28. <% end %>