2015-02-13 07:33:28 -05:00
|
|
|
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
|
2017-01-03 14:13:47 -05:00
|
|
|
.no-ssh-key-message.alert.alert-warning
|
2016-03-03 15:38:27 -05:00
|
|
|
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', profile_keys_path, class: 'alert-link'} to your profile
|
2014-12-26 07:25:37 -05:00
|
|
|
|
2017-01-03 14:13:47 -05:00
|
|
|
.alert-link-group
|
2015-03-07 03:28:53 -05:00
|
|
|
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
|
2014-12-26 07:25:37 -05:00
|
|
|
|
|
2015-03-07 03:28:53 -05:00
|
|
|
= link_to 'Remind later', '#', class: 'hide-no-ssh-message alert-link'
|