@@ -1,29 +1,29 | |||
|
1 | 1 | <% if @statuses.empty? or rows.empty? %> |
|
2 | 2 | <p><i><%=l(:label_no_data)%></i></p> |
|
3 | 3 | <% else %> |
|
4 | 4 | <table class="list issue-report"> |
|
5 | 5 | <thead><tr> |
|
6 | 6 | <th></th> |
|
7 | 7 | <% for status in @statuses %> |
|
8 | 8 | <th><%= status.name %></th> |
|
9 | 9 | <% end %> |
|
10 | 10 | <th><strong><%=l(:label_open_issues_plural)%></strong></th> |
|
11 | 11 | <th><strong><%=l(:label_closed_issues_plural)%></strong></th> |
|
12 | 12 | <th><strong><%=l(:label_total)%></strong></th> |
|
13 | 13 | </tr></thead> |
|
14 | 14 | <tbody> |
|
15 | 15 | <% for row in rows %> |
|
16 | 16 | <tr class="<%= cycle("odd", "even") %>"> |
|
17 | <td class="name"><%= row.name %></td> | |
|
17 | <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td> | |
|
18 | 18 | <% for status in @statuses %> |
|
19 | 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 | 20 | <% end %> |
|
21 | 21 | <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> |
|
22 | 22 | <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> |
|
23 | 23 | <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td> |
|
24 | 24 | </tr> |
|
25 | 25 | <% end %> |
|
26 | 26 | </tbody> |
|
27 | 27 | </table> |
|
28 | 28 | <% end |
|
29 | 29 | reset_cycle %> |
@@ -1,23 +1,23 | |||
|
1 | 1 | <% if @statuses.empty? or rows.empty? %> |
|
2 | 2 | <p><i><%=l(:label_no_data)%></i></p> |
|
3 | 3 | <% else %> |
|
4 | 4 | <table class="list issue-report"> |
|
5 | 5 | <thead><tr> |
|
6 | 6 | <th></th> |
|
7 | 7 | <th><%=l(:label_open_issues_plural)%></th> |
|
8 | 8 | <th><%=l(:label_closed_issues_plural)%></th> |
|
9 | 9 | <th><%=l(:label_total)%></th> |
|
10 | 10 | </tr></thead> |
|
11 | 11 | <tbody> |
|
12 | 12 | <% for row in rows %> |
|
13 | 13 | <tr class="<%= cycle("odd", "even") %>"> |
|
14 | <td class="name"><%= row.name %></td> | |
|
14 | <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td> | |
|
15 | 15 | <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> |
|
16 | 16 | <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> |
|
17 | 17 | <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td> |
|
18 | 18 | </tr> |
|
19 | 19 | <% end %> |
|
20 | 20 | </tbody> |
|
21 | 21 | </table> |
|
22 | 22 | <% end |
|
23 | 23 | reset_cycle %> |
General Comments 0
You need to be logged in to leave comments.
Login now