To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / reports / _details.html.erb @ 1591:63650ae64bf2

History | View | Annotate | Download (1.21 KB)

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><%=h 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 class="<%= cycle("odd", "even") %>">
17
  <td class="name"><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></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) %></td>
20
  <% end %>
21
  <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
22
  <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
23
  <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
24
</tr>
25
<% end %>
26
</tbody>
27
</table>
28
<% end
29
  reset_cycle %>