diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-10 22:20:03 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-10 22:20:03 +0400 |
commit | 0175e665893ca8f8fd660ff55841e95c02fcb987 (patch) | |
tree | 96b41c7e28352a58cf821af9a8f8deab22f7c933 /app/views/shared/_no_ssh.html.haml | |
parent | 37cf2eb691b19998b69b8ad9bf8489837d00c81a (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.haml | 2 |
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 |