@@ -6,11 +6,11 | |||||
6 |
|
6 | |||
7 | <table class="list"> |
|
7 | <table class="list"> | |
8 | <thead><tr> |
|
8 | <thead><tr> | |
9 |
|
|
9 | <th><%=l(:field_name)%></th> | |
10 |
|
|
10 | <th><%=l(:field_type)%></th> | |
11 |
|
|
11 | <th><%=l(:field_host)%></th> | |
12 |
|
|
12 | <th><%=l(:label_user_plural)%></th> | |
13 |
|
|
13 | <th></th> | |
14 | </tr></thead> |
|
14 | </tr></thead> | |
15 | <tbody> |
|
15 | <tbody> | |
16 | <% for source in @auth_sources %> |
|
16 | <% for source in @auth_sources %> | |
@@ -20,9 +20,9 | |||||
20 | <td align="center"><%= h source.host %></td> |
|
20 | <td align="center"><%= h source.host %></td> | |
21 | <td align="center"><%= h source.users.count %></td> |
|
21 | <td align="center"><%= h source.users.count %></td> | |
22 | <td class="buttons"> |
|
22 | <td class="buttons"> | |
23 |
|
|
23 | <%= link_to l(:button_test), :action => 'test_connection', :id => source %> | |
24 |
|
|
24 | <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, | |
25 | :method => :post, |
|
25 | :method => :post, | |
26 | :confirm => l(:text_are_you_sure), |
|
26 | :confirm => l(:text_are_you_sure), | |
27 | :class => 'icon icon-del', |
|
27 | :class => 'icon icon-del', | |
28 | :disabled => source.users.any? %> |
|
28 | :disabled => source.users.any? %> |
General Comments 0
You need to be logged in to leave comments.
Login now