summaryrefslogtreecommitdiff
path: root/app/views/shared/_no_ssh.html.haml
blob: 5a36c37090ea526cfa5c138995c239d15b6a8912 (plain)
1
2
3
4
5
6
7
8
9
- if show_no_ssh_key_message?
  .no-ssh-key-message.alert.alert-warning
    - add_ssh_key_link = link_to s_('MissingSSHKeyWarningLink|add an SSH key'), settings_keys_path, class: 'alert-link'
    - ssh_message = _("You won't be able to pull or push project code via SSH until you %{add_ssh_key_link} to your profile") % { add_ssh_key_link: add_ssh_key_link }
    = ssh_message.html_safe
    .alert-link-group
      = link_to _("Don't show again"), settings_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
      |
      = link_to _('Remind later'), '#', class: 'hide-no-ssh-message alert-link'