Mercurial > hg > soundsoftware-site
annotate .svn/pristine/06/06dd3ee8641385912fee02a84e6de53eed535f28.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 |
rev | line source |
---|---|
Chris@1295 | 1 <div class="contextual"> |
Chris@1295 | 2 <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> |
Chris@1295 | 3 </div> |
Chris@1295 | 4 |
Chris@1295 | 5 <h2><%=l(:label_auth_source_plural)%></h2> |
Chris@1295 | 6 |
Chris@1295 | 7 <table class="list"> |
Chris@1295 | 8 <thead><tr> |
Chris@1295 | 9 <th><%=l(:field_name)%></th> |
Chris@1295 | 10 <th><%=l(:field_type)%></th> |
Chris@1295 | 11 <th><%=l(:field_host)%></th> |
Chris@1295 | 12 <th><%=l(:label_user_plural)%></th> |
Chris@1295 | 13 <th></th> |
Chris@1295 | 14 </tr></thead> |
Chris@1295 | 15 <tbody> |
Chris@1295 | 16 <% for source in @auth_sources %> |
Chris@1295 | 17 <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>"> |
Chris@1295 | 18 <td><%= link_to(h(source.name), :action => 'edit', :id => source)%></td> |
Chris@1295 | 19 <td align="center"><%= h source.auth_method_name %></td> |
Chris@1295 | 20 <td align="center"><%= h source.host %></td> |
Chris@1295 | 21 <td align="center"><%= h source.users.count %></td> |
Chris@1295 | 22 <td class="buttons"> |
Chris@1295 | 23 <%= link_to l(:button_test), {:action => 'test_connection', :id => source}, :class => 'icon icon-test' %> |
Chris@1295 | 24 <%= delete_link auth_source_path(source) %> |
Chris@1295 | 25 </td> |
Chris@1295 | 26 </tr> |
Chris@1295 | 27 <% end %> |
Chris@1295 | 28 </tbody> |
Chris@1295 | 29 </table> |
Chris@1295 | 30 |
Chris@1295 | 31 <p class="pagination"><%= pagination_links_full @auth_source_pages %></p> |