Mercurial > hg > soundsoftware-site
view .svn/pristine/f4/f473a6c734aa790b0f6763ee0fde39521306e35d.svn-base @ 1625:808a40a7cac7 live
Have a go at fixing #570 Can't delete downloadable file from version in project with no issue tracker
author | Chris Cannam |
---|---|
date | Thu, 07 Feb 2019 13:48:00 +0000 |
parents | 261b3d9a4903 |
children |
line wrap: on
line source
<% if @statuses.empty? or rows.empty? %> <p><i><%=l(:label_no_data)%></i></p> <% else %> <table class="list issue-report"> <thead><tr> <th></th> <th><%=l(:label_open_issues_plural)%></th> <th><%=l(:label_closed_issues_plural)%></th> <th><%=l(:label_total)%></th> </tr></thead> <tbody> <% for row in rows %> <tr class="<%= cycle("odd", "even") %>"> <td class="name"><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td> <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> <td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td> </tr> <% end %> </tbody> </table> <% end reset_cycle %>