summaryrefslogtreecommitdiff
path: root/app/helpers/button_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/button_helper.rb')
-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