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:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-11-13 21:21:26 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2017-11-27 18:19:39 +0300
commit2e2f0675c97ba233ab089922b231a7aac97d633a (patch)
tree2925de63e045fd0284fe8fe257ac07c6402a0b3e /app/helpers/button_helper.rb
parentd19019ec926be2be066af7cae3ec8118be1062ab (diff)
UX adjustments and spec corrections
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 fe5abf394a6..4f945b5ad9e 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -56,7 +56,7 @@ module ButtonHelper
end
end
- def http_clone_button(project, placement = 'right', append_link: true)
+ def http_clone_button(project, append_link: true)
protocol = gitlab_config.protocol.upcase
protocol_description =
@@ -79,7 +79,7 @@ module ButtonHelper
end
def ssh_clone_button(project, append_link: true)
- ssh_description = _('Add an SSH key to your profile to pull or push via SSH.')
+ ssh_description = _("You won't be able to pull or push project code via SSH until you add an SSH key to your profile")
ssh_element_output = content_tag(:strong, 'SSH', class: 'dropdown-menu-inner-title')
ssh_element_output << content_tag(:span, ssh_description, class: 'dropdown-menu-inner-content') if current_user.try(:require_ssh_key?)