index.html.erb
31 lines
| 1001 B
| text/plain
|
TextLexer
|
r90 | <div class="contextual"> | ||
|
r154 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> | ||
|
r90 | </div> | ||
|
r11820 | <%= title l(:label_auth_source_plural) %> | ||
|
r10 | |||
|
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") %>"> | ||
|
r13661 | <td class="name"><%= link_to(source.name, :action => 'edit', :id => source)%></td> | ||
<td><%= source.auth_method_name %></td> | ||||
<td><%= source.host %></td> | ||||
<td><%= source.users.count %></td> | ||||
|
r3127 | <td class="buttons"> | ||
|
r10767 | <%= link_to l(:button_test), try_connection_auth_source_path(source), :class => 'icon icon-test' %> | ||
|
r9754 | <%= delete_link auth_source_path(source) %> | ||
|
r3127 | </td> | ||
|
r105 | </tr> | ||
|
r10 | <% end %> | ||
|
r105 | </tbody> | ||
|
r10 | </table> | ||
|
r14515 | <span class="pagination"><%= pagination_links_full @auth_source_pages %></span> | ||