annotate .svn/pristine/f4/f407af2cff71c3deb4c9cfcec5a547c555ebddb3.svn-base @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents
children
rev   line source
Chris@1464 1 <% if @statuses.empty? or rows.empty? %>
Chris@1464 2 <p><i><%=l(:label_no_data)%></i></p>
Chris@1464 3 <% else %>
Chris@1464 4 <table class="list">
Chris@1464 5 <thead><tr>
Chris@1464 6 <th style="width:25%"></th>
Chris@1464 7 <th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>
Chris@1464 8 <th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
Chris@1464 9 <th align="center" style="width:25%"><%=l(:label_total)%></th>
Chris@1464 10 </tr></thead>
Chris@1464 11 <tbody>
Chris@1464 12 <% for row in rows %>
Chris@1464 13 <tr class="<%= cycle("odd", "even") %>">
Chris@1464 14 <td><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td>
Chris@1464 15 <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
Chris@1464 16 <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
Chris@1464 17 <td align="center"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
Chris@1464 18 </tr>
Chris@1464 19 <% end %>
Chris@1464 20 </tbody>
Chris@1464 21 </table>
Chris@1464 22 <% end
Chris@1464 23 reset_cycle %>