]> source.dussan.org Git - redmine.git/commitdiff
Adds an icon to the "Test" link.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 11 Mar 2012 12:15:56 +0000 (12:15 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 11 Mar 2012 12:15:56 +0000 (12:15 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9235 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/auth_sources/index.html.erb
public/stylesheets/application.css

index 30d3bad7f5cf4ac267730ca3d93df6e25024d7aa..3ce5c090ccf584063bac565cf17d3ec48a7b66c0 100644 (file)
@@ -20,7 +20,7 @@
     <td align="center"><%= h source.host %></td>
     <td align="center"><%= h source.users.count %></td>
     <td class="buttons">
-      <%= link_to l(:button_test), :action => 'test_connection', :id => source %>
+      <%= link_to l(:button_test), {:action => 'test_connection', :id => source}, :class => 'icon icon-test' %>
       <%= link_to l(:button_delete), { :action => 'destroy', :id => source },
                                                         :method => :delete,
                                                         :confirm => l(:text_are_you_sure),
index 65cdb5159a4fe0f5a8c01589898a3ca669201727..f73cbc666ca00866bae1ac36a3abbaf9f329c217 100644 (file)
@@ -958,6 +958,7 @@ padding-bottom: 3px;
 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
 .icon-passwd { background-image: url(../images/textfield_key.png); }
+.icon-test { background-image: url(../images/bullet_go.png); }
 
 .icon-file { background-image: url(../images/files/default.png); }
 .icon-file.text-plain { background-image: url(../images/files/text.png); }