annotate .svn/pristine/f4/f473a6c734aa790b0f6763ee0fde39521306e35d.svn-base @ 1524:82fac3dcf466
redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 11 Sep 2014 10:24:38 +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 <th><%=l(:label_open_issues_plural)%></th>
|
Chris@1464
|
8 <th><%=l(:label_closed_issues_plural)%></th>
|
Chris@1464
|
9 <th><%=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 class="name"><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td>
|
Chris@1464
|
15 <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
|
Chris@1464
|
16 <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
|
Chris@1464
|
17 <td><%= 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 %>
|