annotate app/views/auth_sources/index.html.erb @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 433d4f72a19b
children 622f24f53b42 261b3d9a4903
rev   line source
Chris@0 1 <div class="contextual">
Chris@0 2 <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
Chris@0 3 </div>
Chris@0 4
Chris@0 5 <h2><%=l(:label_auth_source_plural)%></h2>
Chris@0 6
Chris@0 7 <table class="list">
Chris@0 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@0 14 </tr></thead>
Chris@0 15 <tbody>
Chris@0 16 <% for source in @auth_sources %>
Chris@909 17 <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>">
Chris@507 18 <td><%= link_to(h(source.name), :action => 'edit', :id => source)%></td>
Chris@507 19 <td align="center"><%= h source.auth_method_name %></td>
Chris@507 20 <td align="center"><%= h source.host %></td>
Chris@507 21 <td align="center"><%= h source.users.count %></td>
Chris@0 22 <td class="buttons">
Chris@1115 23 <%= link_to l(:button_test), {:action => 'test_connection', :id => source}, :class => 'icon icon-test' %>
Chris@1115 24 <%= delete_link auth_source_path(source) %>
Chris@0 25 </td>
Chris@0 26 </tr>
Chris@0 27 <% end %>
Chris@0 28 </tbody>
Chris@0 29 </table>
Chris@0 30
Chris@0 31 <p class="pagination"><%= pagination_links_full @auth_source_pages %></p>