diff --git a/app/views/auth_sources/index.html.erb b/app/views/auth_sources/index.html.erb index 56906bd43..9da554496 100644 --- a/app/views/auth_sources/index.html.erb +++ b/app/views/auth_sources/index.html.erb @@ -6,11 +6,11 @@
<%=l(:field_name)%> | -<%=l(:field_type)%> | -<%=l(:field_host)%> | -<%=l(:label_user_plural)%> | -+ | <%=l(:field_name)%> | +<%=l(:field_type)%> | +<%=l(:field_host)%> | +<%=l(:label_user_plural)%> | +<%= h source.host %> | <%= h source.users.count %> | - <%= link_to l(:button_test), :action => 'test_connection', :id => source %> - <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, - :method => :post, + <%= link_to l(:button_test), :action => 'test_connection', :id => source %> + <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, + :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del', :disabled => source.users.any? %> |
---|