annotate app/views/reports/_simple.html.erb @ 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 cbb26bc654de
children
rev   line source
Chris@0 1 <% if @statuses.empty? or rows.empty? %>
Chris@0 2 <p><i><%=l(:label_no_data)%></i></p>
Chris@0 3 <% else %>
Chris@0 4 <table class="list">
Chris@0 5 <thead><tr>
Chris@0 6 <th style="width:25%"></th>
Chris@0 7 <th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>
Chris@0 8 <th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
Chris@0 9 <th align="center" style="width:25%"><%=l(:label_total)%></th>
Chris@0 10 </tr></thead>
Chris@0 11 <tbody>
Chris@0 12 <% for row in rows %>
Chris@0 13 <tr class="<%= cycle("odd", "even") %>">
Chris@1295 14 <td><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td>
Chris@1295 15 <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
Chris@1295 16 <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
Chris@1295 17 <td align="center"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
Chris@0 18 </tr>
Chris@0 19 <% end %>
Chris@0 20 </tbody>
Chris@0 21 </table>
Chris@0 22 <% end
Chris@909 23 reset_cycle %>