To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / reports / _simple.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (1.02 KB)
| 1 | 0:513646585e45 | Chris | <% if @statuses.empty? or rows.empty? %>
|
|---|---|---|---|
| 2 | <p><i><%=l(:label_no_data)%></i></p> |
||
| 3 | <% else %>
|
||
| 4 | <table class="list"> |
||
| 5 | <thead><tr> |
||
| 6 | <th style="width:25%"></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> |
||
| 9 | <th align="center" style="width:25%"><%=l(:label_total)%></th> |
||
| 10 | </tr></thead> |
||
| 11 | <tbody>
|
||
| 12 | <% for row in rows %>
|
||
| 13 | <tr class="<%= cycle("odd", "even") %>"> |
||
| 14 | 1295:622f24f53b42 | Chris | <td><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td> |
| 15 | <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> |
||
| 16 | <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> |
||
| 17 | <td align="center"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td> |
||
| 18 | 0:513646585e45 | Chris | </tr>
|
| 19 | <% end %>
|
||
| 20 | </tbody>
|
||
| 21 | </table>
|
||
| 22 | <% end
|
||
| 23 | 909:cbb26bc654de | Chris | reset_cycle %> |