annotate .svn/pristine/f4/f407af2cff71c3deb4c9cfcec5a547c555ebddb3.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
rev   line source
Chris@1295 1 <% if @statuses.empty? or rows.empty? %>
Chris@1295 2 <p><i><%=l(:label_no_data)%></i></p>
Chris@1295 3 <% else %>
Chris@1295 4 <table class="list">
Chris@1295 5 <thead><tr>
Chris@1295 6 <th style="width:25%"></th>
Chris@1295 7 <th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>
Chris@1295 8 <th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
Chris@1295 9 <th align="center" style="width:25%"><%=l(:label_total)%></th>
Chris@1295 10 </tr></thead>
Chris@1295 11 <tbody>
Chris@1295 12 <% for row in rows %>
Chris@1295 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@1295 18 </tr>
Chris@1295 19 <% end %>
Chris@1295 20 </tbody>
Chris@1295 21 </table>
Chris@1295 22 <% end
Chris@1295 23 reset_cycle %>