View cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3241 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-12-25 17:39:06 +00:00
parent 8db9ecef08
commit 45f3199aa9
1 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,6 @@
<th><%=l(:field_host)%></th>
<th><%=l(:label_user_plural)%></th>
<th></th>
<th></th>
</tr></thead>
<tbody>
<% for source in @auth_sources %>
@ -20,11 +19,13 @@
<td align="center"><%= source.auth_method_name %></td>
<td align="center"><%= source.host %></td>
<td align="center"><%= source.users.count %></td>
<td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td>
<td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source },
<td class="buttons">
<%= 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? %></td>
:class => 'icon icon-del',
:disabled => source.users.any? %>
</td>
</tr>
<% end %>
</tbody>