@@ -9,6 +9,7 | |||
|
9 | 9 | <th><%=l(:field_name)%></th> |
|
10 | 10 | <th><%=l(:field_type)%></th> |
|
11 | 11 | <th><%=l(:field_host)%></th> |
|
12 | <th><%=l(:label_user_plural)%></th> | |
|
12 | 13 | <th></th> |
|
13 | 14 | <th></th> |
|
14 | 15 | </tr></thead> |
@@ -18,8 +19,12 | |||
|
18 | 19 | <td><%= link_to source.name, :action => 'edit', :id => source%></td> |
|
19 | 20 | <td align="center"><%= source.auth_method_name %></td> |
|
20 | 21 | <td align="center"><%= source.host %></td> |
|
22 | <td align="center"><%= source.users.count %></td> | |
|
21 | 23 | <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td> |
|
22 |
<td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, |
|
|
24 | <td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, | |
|
25 | :confirm => l(:text_are_you_sure), | |
|
26 | :class => "button-small", | |
|
27 | :disabled => source.users.any? %></td> | |
|
23 | 28 | </tr> |
|
24 | 29 | <% end %> |
|
25 | 30 | </tbody> |
General Comments 0
You need to be logged in to leave comments.
Login now