annotate .svn/pristine/dd/dd2f17495a5de7a35d1857b166c6828fc3d5d850.svn-base @ 1628:9c5f8e24dadc live tip

Quieten this cron script
author Chris Cannam
date Tue, 25 Aug 2020 11:38:49 +0100
parents 261b3d9a4903
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 issue-report">
Chris@1464 5 <thead><tr>
Chris@1464 6 <th></th>
Chris@1464 7 <% for status in @statuses %>
Chris@1464 8 <th><%=h status.name %></th>
Chris@1464 9 <% end %>
Chris@1464 10 <th><strong><%=l(:label_open_issues_plural)%></strong></th>
Chris@1464 11 <th><strong><%=l(:label_closed_issues_plural)%></strong></th>
Chris@1464 12 <th><strong><%=l(:label_total)%></strong></th>
Chris@1464 13 </tr></thead>
Chris@1464 14 <tbody>
Chris@1464 15 <% for row in rows %>
Chris@1464 16 <tr class="<%= cycle("odd", "even") %>">
Chris@1464 17 <td class="name"><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td>
Chris@1464 18 <% for status in @statuses %>
Chris@1464 19 <td><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td>
Chris@1464 20 <% end %>
Chris@1464 21 <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
Chris@1464 22 <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
Chris@1464 23 <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
Chris@1464 24 </tr>
Chris@1464 25 <% end %>
Chris@1464 26 </tbody>
Chris@1464 27 </table>
Chris@1464 28 <% end
Chris@1464 29 reset_cycle %>