Mercurial > hg > soundsoftware-site
comparison .svn/pristine/1a/1ab88c9db51ca0f94d552b61bcc13c4bd5d1f921.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 <% if @statuses.empty? or rows.empty? %> | |
2 <p><i><%=l(:label_no_data)%></i></p> | |
3 <% else %> | |
4 <% col_width = 70 / (@statuses.length+3) %> | |
5 <table class="list"> | |
6 <thead><tr> | |
7 <th style="width:25%"></th> | |
8 <% for status in @statuses %> | |
9 <th style="width:<%= col_width %>%"><%=h status.name %></th> | |
10 <% end %> | |
11 <th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th> | |
12 <th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th> | |
13 <th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_total)%></strong></th> | |
14 </tr></thead> | |
15 <tbody> | |
16 <% for row in rows %> | |
17 <tr class="<%= cycle("odd", "even") %>"> | |
18 <td><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td> | |
19 <% for status in @statuses %> | |
20 <td align="center"><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td> | |
21 <% end %> | |
22 <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> | |
23 <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> | |
24 <td align="center"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td> | |
25 </tr> | |
26 <% end %> | |
27 </tbody> | |
28 </table> | |
29 <% end | |
30 reset_cycle %> |