summaryrefslogtreecommitdiff
path: root/app/helpers/button_helper.rb
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-03-20 20:01:46 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-03-20 21:37:22 +0100
commit367818d2934af8f3eb7313147198801d021445e5 (patch)
treed4833b7eb470293d80493478f70929c710679b31 /app/helpers/button_helper.rb
parentd19abe6f65fdf79060b233ac7df742897a8fb55e (diff)
downloadgitlab-ce-367818d2934af8f3eb7313147198801d021445e5.tar.gz
change the css class has_tooltip to has-tooltip universallychange_css_class_has_tooltip_to_has-tooltip
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r--app/helpers/button_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb
index ee2cb6ab0ea..a9047ede8c5 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -24,7 +24,7 @@ module ButtonHelper
def http_clone_button(project)
klass = 'http-selector'
- klass << ' has_tooltip' if current_user.try(:require_password?)
+ klass << ' has-tooltip' if current_user.try(:require_password?)
protocol = gitlab_config.protocol.upcase
@@ -41,7 +41,7 @@ module ButtonHelper
def ssh_clone_button(project)
klass = 'ssh-selector'
- klass << ' has_tooltip' if current_user.try(:require_ssh_key?)
+ klass << ' has-tooltip' if current_user.try(:require_ssh_key?)
content_tag :a, 'SSH',
class: klass,