summaryrefslogtreecommitdiff
path: root/app/views/shared/_no_ssh.html.haml
blob: d663fa13d10e8cd44d420201e6a0c7999bffb567 (plain)
1
2
3
4
5
6
7
8
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
  .no-ssh-key-message.alert.alert-warning
    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

    .alert-link-group
      = 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'