2017-06-12 16:13:22 +00:00
- if show_no_ssh_key_message?
2017-01-03 19:13:47 +00:00
.no-ssh-key-message.alert.alert-warning
2017-06-07 20:13:44 +00:00
- add_ssh_key_link = link_to s_('MissingSSHKeyWarningLink|add an SSH key'), profile_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 }
2017-06-12 16:13:22 +00:00
= ssh_message.html_safe
2017-01-03 19:13:47 +00:00
.alert-link-group
2017-06-07 20:13:44 +00:00
= link_to _("Don't show again"), profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
2014-12-26 12:25:37 +00:00
|
2017-06-07 20:13:44 +00:00
= link_to _('Remind later'), '#', class: 'hide-no-ssh-message alert-link'