index.html.erb
31 lines
| 1.0 KiB
| text/plain
|
TextLexer
|
r90 | <div class="contextual"> | ||
|
r154 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> | ||
|
r90 | </div> | ||
|
r10 | <h2><%=l(:label_auth_source_plural)%></h2> | ||
|
r105 | <table class="list"> | ||
<thead><tr> | ||||
|
r7244 | <th><%=l(:field_name)%></th> | ||
<th><%=l(:field_type)%></th> | ||||
<th><%=l(:field_host)%></th> | ||||
<th><%=l(:label_user_plural)%></th> | ||||
<th></th> | ||||
|
r105 | </tr></thead> | ||
<tbody> | ||||
|
r10 | <% for source in @auth_sources %> | ||
|
r7803 | <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>"> | ||
|
r6007 | <td><%= link_to(h(source.name), :action => 'edit', :id => source)%></td> | ||
<td align="center"><%= h source.auth_method_name %></td> | ||||
<td align="center"><%= h source.host %></td> | ||||
<td align="center"><%= h source.users.count %></td> | ||||
|
r3127 | <td class="buttons"> | ||
|
r9115 | <%= link_to l(:button_test), {:action => 'test_connection', :id => source}, :class => 'icon icon-test' %> | ||
|
r9754 | <%= delete_link auth_source_path(source) %> | ||
|
r3127 | </td> | ||
|
r105 | </tr> | ||
|
r10 | <% end %> | ||
|
r105 | </tbody> | ||
|
r10 | </table> | ||
|
r1013 | <p class="pagination"><%= pagination_links_full @auth_source_pages %></p> | ||