debian-mirror-gitlab/app/views/shared/_no_ssh.html.haml

9 lines
526 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
2017-08-17 22:00:37 +05:30
.no-ssh-key-message.alert.alert-warning
2016-06-02 11:05:42 +05:30
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
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
.alert-link-group
2015-04-26 12:48:37 +05:30
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
|
= link_to 'Remind later', '#', class: 'hide-no-ssh-message alert-link'