annotate .svn/pristine/c2/c2155d1a90b73a86baf62c217f9d15ae922ab7b2.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 cbb26bc654de
children
rev   line source
Chris@909 1 <div class="contextual">
Chris@909 2 <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
Chris@909 3 </div>
Chris@909 4
Chris@909 5 <h2><%=l(:label_auth_source_plural)%></h2>
Chris@909 6
Chris@909 7 <table class="list">
Chris@909 8 <thead><tr>
Chris@909 9 <th><%=l(:field_name)%></th>
Chris@909 10 <th><%=l(:field_type)%></th>
Chris@909 11 <th><%=l(:field_host)%></th>
Chris@909 12 <th><%=l(:label_user_plural)%></th>
Chris@909 13 <th></th>
Chris@909 14 </tr></thead>
Chris@909 15 <tbody>
Chris@909 16 <% for source in @auth_sources %>
Chris@909 17 <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>">
Chris@909 18 <td><%= link_to(h(source.name), :action => 'edit', :id => source)%></td>
Chris@909 19 <td align="center"><%= h source.auth_method_name %></td>
Chris@909 20 <td align="center"><%= h source.host %></td>
Chris@909 21 <td align="center"><%= h source.users.count %></td>
Chris@909 22 <td class="buttons">
Chris@909 23 <%= link_to l(:button_test), :action => 'test_connection', :id => source %>
Chris@909 24 <%= link_to l(:button_delete), { :action => 'destroy', :id => source },
Chris@909 25 :method => :post,
Chris@909 26 :confirm => l(:text_are_you_sure),
Chris@909 27 :class => 'icon icon-del',
Chris@909 28 :disabled => source.users.any? %>
Chris@909 29 </td>
Chris@909 30 </tr>
Chris@909 31 <% end %>
Chris@909 32 </tbody>
Chris@909 33 </table>
Chris@909 34
Chris@909 35 <p class="pagination"><%= pagination_links_full @auth_source_pages %></p>