From 45f3199aa94976c7aa6c6029b72e6de6a7894e50 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 25 Dec 2009 17:39:06 +0000 Subject: [PATCH] View cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3241 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/auth_sources/list.rhtml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/auth_sources/list.rhtml b/app/views/auth_sources/list.rhtml index 5729ec77..a29a177c 100644 --- a/app/views/auth_sources/list.rhtml +++ b/app/views/auth_sources/list.rhtml @@ -11,7 +11,6 @@ <%=l(:field_host)%> <%=l(:label_user_plural)%> - <% for source in @auth_sources %> @@ -20,11 +19,13 @@ <%= source.auth_method_name %> <%= source.host %> <%= source.users.count %> - <%= link_to l(:button_test), :action => 'test_connection', :id => source %> - <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, + + <%= link_to l(:button_test), :action => 'test_connection', :id => source %> + <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), - :class => "button-small", - :disabled => source.users.any? %> + :class => 'icon icon-del', + :disabled => source.users.any? %> + <% end %>