To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / auth_sources / index.html.erb @ 1591:63650ae64bf2
History | View | Annotate | Download (1004 Bytes)
| 1 |
<div class="contextual"> |
|---|---|
| 2 |
<%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
|
| 3 |
</div>
|
| 4 |
|
| 5 |
<%= title l(:label_auth_source_plural) %>
|
| 6 |
|
| 7 |
<table class="list"> |
| 8 |
<thead><tr> |
| 9 |
<th><%=l(:field_name)%></th> |
| 10 |
<th><%=l(:field_type)%></th> |
| 11 |
<th><%=l(:field_host)%></th> |
| 12 |
<th><%=l(:label_user_plural)%></th> |
| 13 |
<th></th> |
| 14 |
</tr></thead> |
| 15 |
<tbody>
|
| 16 |
<% for source in @auth_sources %>
|
| 17 |
<tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>"> |
| 18 |
<td class="name"><%= link_to(h(source.name), :action => 'edit', :id => source)%></td> |
| 19 |
<td><%= h source.auth_method_name %></td> |
| 20 |
<td><%= h source.host %></td> |
| 21 |
<td><%= h source.users.count %></td> |
| 22 |
<td class="buttons"> |
| 23 |
<%= link_to l(:button_test), try_connection_auth_source_path(source), :class => 'icon icon-test' %>
|
| 24 |
<%= delete_link auth_source_path(source) %>
|
| 25 |
</td>
|
| 26 |
</tr>
|
| 27 |
<% end %>
|
| 28 |
</tbody>
|
| 29 |
</table>
|
| 30 |
|
| 31 |
<p class="pagination"><%= pagination_links_full @auth_source_pages %></p> |