Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_no_ssh.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0a7fa2a3c1eae8e0cb20c7a32e6351c2523d3ebf (plain)
1
2
3
4
5
6
7
8
9
10
- if show_no_ssh_key_message?
  %div{ class: 'no-ssh-key-message gl-alert gl-alert-warning', role: 'alert' }
    = sprite_icon('warning', css_class: 'gl-icon s16 gl-alert-icon gl-alert-icon-no-title')
    %button{ class: 'gl-alert-dismiss hide-no-ssh-message', type: 'button', 'aria-label': _('Dismiss') }
      = sprite_icon('close', css_class: 'gl-icon s16')
    .gl-alert-body
      = s_("MissingSSHKeyWarningLink|You won't be able to pull or push repositories via SSH until you add an SSH key to your profile")
    .gl-alert-actions
      = link_to s_('MissingSSHKeyWarningLink|Add SSH key'), profile_keys_path, class: "btn gl-alert-action btn-warning btn-md new-gl-button"
      = link_to s_("MissingSSHKeyWarningLink|Don't show again"), profile_path(user: {hide_no_ssh_key: true}), method: :put, role: 'button', class: 'btn gl-alert-action btn-md btn-warning gl-button btn-warning-secondary'