@@ -1,41 +1,41 | |||||
1 | <% if @statuses.empty? or rows.empty? %> |
|
1 | <% if @statuses.empty? or rows.empty? %> | |
2 | <p><i><%=l(:label_no_data)%></i></p> |
|
2 | <p><i><%=l(:label_no_data)%></i></p> | |
3 | <% else %> |
|
3 | <% else %> | |
4 | <table class="list"> |
|
4 | <table class="list"> | |
5 | <thead><tr> |
|
5 | <thead><tr> | |
6 | <th style="width:25%"></th> |
|
6 | <th style="width:25%"></th> | |
7 | <th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th> |
|
7 | <th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th> | |
8 | <th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th> |
|
8 | <th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th> | |
9 | <th align="center" style="width:25%"><%=l(:label_total)%></th> |
|
9 | <th align="center" style="width:25%"><%=l(:label_total)%></th> | |
10 | </tr></thead> |
|
10 | </tr></thead> | |
11 | <tbody> |
|
11 | <tbody> | |
12 | <% for row in rows %> |
|
12 | <% for row in rows %> | |
13 | <tr class="<%= cycle("odd", "even") %>"> |
|
13 | <tr class="<%= cycle("odd", "even") %>"> | |
14 |
<td><%= link_to h(row.name), :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), |
|
14 | <td><%= link_to h(row.name), :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), | |
15 |
:set_filter => 1, |
|
15 | :set_filter => 1, | |
16 | :subproject_id => '!*', |
|
16 | :subproject_id => '!*', | |
17 | "#{field_name}" => row.id %></td> |
|
17 | "#{field_name}" => row.id %></td> | |
18 | <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, |
|
18 | <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, | |
19 |
:controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), |
|
19 | :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), | |
20 |
:set_filter => 1, |
|
20 | :set_filter => 1, | |
21 | :subproject_id => '!*', |
|
21 | :subproject_id => '!*', | |
22 | "#{field_name}" => row.id, |
|
22 | "#{field_name}" => row.id, | |
23 | "status_id" => "o" %></td> |
|
23 | "status_id" => "o" %></td> | |
24 | <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, |
|
24 | <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, | |
25 |
:controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), |
|
25 | :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), | |
26 |
:set_filter => 1, |
|
26 | :set_filter => 1, | |
27 | :subproject_id => '!*', |
|
27 | :subproject_id => '!*', | |
28 | "#{field_name}" => row.id, |
|
28 | "#{field_name}" => row.id, | |
29 | "status_id" => "c" %></td> |
|
29 | "status_id" => "c" %></td> | |
30 | <td align="center"><%= aggregate_link data, { field_name => row.id }, |
|
30 | <td align="center"><%= aggregate_link data, { field_name => row.id }, | |
31 |
:controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), |
|
31 | :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), | |
32 |
:set_filter => 1, |
|
32 | :set_filter => 1, | |
33 | :subproject_id => '!*', |
|
33 | :subproject_id => '!*', | |
34 | "#{field_name}" => row.id, |
|
34 | "#{field_name}" => row.id, | |
35 |
"status_id" => "*" %></td> |
|
35 | "status_id" => "*" %></td> | |
36 | </tr> |
|
36 | </tr> | |
37 | <% end %> |
|
37 | <% end %> | |
38 | </tbody> |
|
38 | </tbody> | |
39 | </table> |
|
39 | </table> | |
40 | <% end |
|
40 | <% end | |
41 | reset_cycle %> No newline at end of file |
|
41 | reset_cycle %> |
General Comments 0
You need to be logged in to leave comments.
Login now