Mercurial > hg > soundsoftware-site
diff .svn/pristine/4b/4b8ff24938a4dd7deed4f9307f87afc0e6c1ff11.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/4b/4b8ff24938a4dd7deed4f9307f87afc0e6c1ff11.svn-base Fri Jun 14 09:28:30 2013 +0100 @@ -0,0 +1,31 @@ +<div class="contextual"> +<%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> +</div> + +<h2><%=l(:label_auth_source_plural)%></h2> + +<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><%= 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> + <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>