Mercurial > hg > soundsoftware-site
annotate .svn/pristine/cf/cf7e5c248f11cae1d5c9a55fa82d93afc2bc7271.svn-base @ 1600:ed9c467ef922 dockerise
Add hggit extension
author | Chris Cannam |
---|---|
date | Wed, 23 Aug 2017 11:32:50 +0100 |
parents | 261b3d9a4903 |
children |
rev | line source |
---|---|
Chris@1464 | 1 <div class="contextual"> |
Chris@1464 | 2 <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> |
Chris@1464 | 3 </div> |
Chris@1464 | 4 |
Chris@1464 | 5 <%= title l(:label_auth_source_plural) %> |
Chris@1464 | 6 |
Chris@1464 | 7 <table class="list"> |
Chris@1464 | 8 <thead><tr> |
Chris@1464 | 9 <th><%=l(:field_name)%></th> |
Chris@1464 | 10 <th><%=l(:field_type)%></th> |
Chris@1464 | 11 <th><%=l(:field_host)%></th> |
Chris@1464 | 12 <th><%=l(:label_user_plural)%></th> |
Chris@1464 | 13 <th></th> |
Chris@1464 | 14 </tr></thead> |
Chris@1464 | 15 <tbody> |
Chris@1464 | 16 <% for source in @auth_sources %> |
Chris@1464 | 17 <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>"> |
Chris@1464 | 18 <td class="name"><%= link_to(h(source.name), :action => 'edit', :id => source)%></td> |
Chris@1464 | 19 <td><%= h source.auth_method_name %></td> |
Chris@1464 | 20 <td><%= h source.host %></td> |
Chris@1464 | 21 <td><%= h source.users.count %></td> |
Chris@1464 | 22 <td class="buttons"> |
Chris@1464 | 23 <%= link_to l(:button_test), try_connection_auth_source_path(source), :class => 'icon icon-test' %> |
Chris@1464 | 24 <%= delete_link auth_source_path(source) %> |
Chris@1464 | 25 </td> |
Chris@1464 | 26 </tr> |
Chris@1464 | 27 <% end %> |
Chris@1464 | 28 </tbody> |
Chris@1464 | 29 </table> |
Chris@1464 | 30 |
Chris@1464 | 31 <p class="pagination"><%= pagination_links_full @auth_source_pages %></p> |