summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-11 12:15:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-11 12:15:56 +0000
commit60e6a623bd955606b330354a49be5145080c95c6 (patch)
treea59f14d1a3831b1e926d6708bd7731d7c891800b
parenta8e392c0e5732e934b6e45a68a69e9e0170432c9 (diff)
downloadredmine-60e6a623bd955606b330354a49be5145080c95c6.tar.gz
redmine-60e6a623bd955606b330354a49be5145080c95c6.zip
Adds an icon to the "Test" link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9235 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/auth_sources/index.html.erb2
-rw-r--r--public/stylesheets/application.css1
2 files changed, 2 insertions, 1 deletions
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 @@
<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),
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); }