From: Jean-Philippe Lang Date: Sun, 11 Mar 2012 12:15:56 +0000 (+0000) Subject: Adds an icon to the "Test" link. X-Git-Tag: 1.4.0~115 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=60e6a623bd955606b330354a49be5145080c95c6;p=redmine.git Adds an icon to the "Test" link. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9235 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/auth_sources/index.html.erb b/app/views/auth_sources/index.html.erb index 30d3bad7f..3ce5c090c 100644 --- a/app/views/auth_sources/index.html.erb +++ b/app/views/auth_sources/index.html.erb @@ -20,7 +20,7 @@ <%= h source.host %> <%= h source.users.count %> - <%= 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), diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 65cdb5159..f73cbc666 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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); }