BigW Consortium Gitlab

_no_ssh.html.haml 530 Bytes
Newer Older
1
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
2
  .no-ssh-key-message.alert.alert-warning.hidden-xs
3
    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
4 5

    .pull-right
6
      = link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
7
      |
8
      = link_to 'Remind later', '#', class: 'hide-no-ssh-message alert-link'