annotate .svn/pristine/06/067d843bc0cda3da0f5457a92adeb100a2eb241d.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 dffacf8a6908
children
rev   line source
Chris@1517 1 <table class="list">
Chris@1517 2 <thead><tr>
Chris@1517 3 <th><%=l(:field_name)%></th>
Chris@1517 4 <th><%=l(:field_field_format)%></th>
Chris@1517 5 <th><%=l(:field_is_required)%></th>
Chris@1517 6 <% if tab[:name] == 'IssueCustomField' %>
Chris@1517 7 <th><%=l(:field_is_for_all)%></th>
Chris@1517 8 <th><%=l(:label_used_by)%></th>
Chris@1517 9 <% end %>
Chris@1517 10 <th><%=l(:button_sort)%></th>
Chris@1517 11 <th></th>
Chris@1517 12 </tr></thead>
Chris@1517 13 <tbody>
Chris@1517 14 <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
Chris@1517 15 <tr class="<%= cycle("odd", "even") %>">
Chris@1517 16 <td class="name"><%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %></td>
Chris@1517 17 <td><%= l(custom_field.format.label) %></td>
Chris@1517 18 <td><%= checked_image custom_field.is_required? %></td>
Chris@1517 19 <% if tab[:name] == 'IssueCustomField' %>
Chris@1517 20 <td><%= checked_image custom_field.is_for_all? %></td>
Chris@1517 21 <td><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
Chris@1517 22 <% end %>
Chris@1517 23 <td class="reorder"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
Chris@1517 24 <td class="buttons">
Chris@1517 25 <%= delete_link custom_field_path(custom_field) %>
Chris@1517 26 </td>
Chris@1517 27 </tr>
Chris@1517 28 <% end; reset_cycle %>
Chris@1517 29 </tbody>
Chris@1517 30 </table>