2013-12-14 20:28:17 -05:00
|
|
|
- if cookies[:hide_no_ssh_message].blank? && current_user.require_ssh_key? && !current_user.hide_no_ssh_key
|
2013-11-12 03:19:23 -05:00
|
|
|
.no-ssh-key-message
|
|
|
|
.container
|
|
|
|
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
|
2014-01-22 21:07:01 -05:00
|
|
|
.pull-right.hidden-xs
|
2013-12-14 20:28:17 -05:00
|
|
|
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'hide-no-ssh-message', remote: true
|
|
|
|
|
|
|
|
|
= link_to 'Remind later', '#', class: 'hide-no-ssh-message'
|
2014-01-22 21:07:01 -05:00
|
|
|
.links-xs.visible-xs
|
|
|
|
= link_to "Add key", new_profile_key_path
|
|
|
|
|
|
|
|
|
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'hide-no-ssh-message', remote: true
|
|
|
|
|
|
|
|
|
= link_to 'Later', '#', class: 'hide-no-ssh-message'
|