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