Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-03-20 17:52:06 +0300
committerStan Hu <stanhu@gmail.com>2016-03-20 17:52:06 +0300
commit7418429da19e25082b9f04af5873e339529ad3f9 (patch)
tree8205a1ff0e912398d9cfc8511d72ed48c3e0d22c /app/helpers
parent91f9866cceb666f1e3800b6116c398c90332c764 (diff)
Move tooltip to the right of the dropdown
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/button_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb
index c77a2a0f430..ee2cb6ab0ea 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -33,6 +33,8 @@ module ButtonHelper
href: @project.http_url_to_repo,
data: {
html: true,
+ placement: 'right',
+ container: 'body',
title: "Set a password on your account<br>to pull or push via #{protocol}"
}
end
@@ -46,6 +48,8 @@ module ButtonHelper
href: project.ssh_url_to_repo,
data: {
html: true,
+ placement: 'right',
+ container: 'body',
title: 'Add an SSH key to your profile<br>to pull or push via SSH.'
}
end