Mercurial > hg > soundsoftware-site
diff .svn/pristine/cf/cf7e5c248f11cae1d5c9a55fa82d93afc2bc7271.svn-base @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/cf/cf7e5c248f11cae1d5c9a55fa82d93afc2bc7271.svn-base Tue Jan 14 14:37:42 2014 +0000 @@ -0,0 +1,31 @@ +<div class="contextual"> +<%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> +</div> + +<%= title l(:label_auth_source_plural) %> + +<table class="list"> + <thead><tr> + <th><%=l(:field_name)%></th> + <th><%=l(:field_type)%></th> + <th><%=l(:field_host)%></th> + <th><%=l(:label_user_plural)%></th> + <th></th> + </tr></thead> + <tbody> +<% for source in @auth_sources %> + <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>"> + <td class="name"><%= link_to(h(source.name), :action => 'edit', :id => source)%></td> + <td><%= h source.auth_method_name %></td> + <td><%= h source.host %></td> + <td><%= h source.users.count %></td> + <td class="buttons"> + <%= link_to l(:button_test), try_connection_auth_source_path(source), :class => 'icon icon-test' %> + <%= delete_link auth_source_path(source) %> + </td> + </tr> +<% end %> + </tbody> +</table> + +<p class="pagination"><%= pagination_links_full @auth_source_pages %></p>