From 2e2f0675c97ba233ab089922b231a7aac97d633a Mon Sep 17 00:00:00 2001 From: Jose Ivan Vargas Date: Mon, 13 Nov 2017 12:21:26 -0600 Subject: UX adjustments and spec corrections --- app/helpers/button_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/helpers/button_helper.rb') 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?) -- cgit v1.2.3