Commit 0175e665 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

hide no-ssh message if notice or alert present

parent 31124fd49510
......@@ -49,12 +49,8 @@ table a code {
cursor: pointer;
margin: 0;
text-align: center;
border-radius: 0;
color: #fff;
span {
font-size: 14px;
font-size: 14px;
.flash-notice {
background: #49C;
- if alert
%span= alert
= alert
- elsif notice
%span= notice
= notice
- if current_user.require_ssh_key?
- if current_user.require_ssh_key? && alert.blank? && notice.blank?
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment