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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-10 22:20:03 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-10 22:20:03 +0400
commit0175e665893ca8f8fd660ff55841e95c02fcb987 (patch)
tree96b41c7e28352a58cf821af9a8f8deab22f7c933 /app/views/shared/_no_ssh.html.haml
parent37cf2eb691b19998b69b8ad9bf8489837d00c81a (diff)
hide no-ssh message if notice or alert present
Diffstat (limited to 'app/views/shared/_no_ssh.html.haml')
-rw-r--r--app/views/shared/_no_ssh.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml
index 82bf00aa280..6d363807d62 100644
--- a/app/views/shared/_no_ssh.html.haml
+++ b/app/views/shared/_no_ssh.html.haml
@@ -1,3 +1,3 @@
-- if current_user.require_ssh_key?
+- if current_user.require_ssh_key? && alert.blank? && notice.blank?
%p.error-message.centered
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile