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: a3f24da5d7cf95872868eb618cd9dec8d3b2b59c (plain)
1
2
3
4
5
6
7
8
9
- if show_no_ssh_key_message?
  = render Pajamas::AlertComponent.new(variant: :warning,
    alert_options: { class: 'js-no-ssh-message' },
    close_button_options: { class: 'js-hide-no-ssh-message'}) do |c|
    - c.with_body do
      = s_("MissingSSHKeyWarningLink|You can't push or pull repositories using SSH until you add an SSH key to your profile.")
    - c.with_actions do
      = link_button_to s_('MissingSSHKeyWarningLink|Add SSH key'), profile_keys_path, class: 'gl-alert-action', variant: :confirm
      = link_button_to s_("MissingSSHKeyWarningLink|Don't show again"), profile_path(user: { hide_no_ssh_key: true }), method: :put, role: 'button', class: 'gl-alert-action'