diff options
Diffstat (limited to 'app/views/shared/_no_ssh.html.haml')
-rw-r--r-- | app/views/shared/_no_ssh.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml index c4d8cb092dc..be1df54a432 100644 --- a/app/views/shared/_no_ssh.html.haml +++ b/app/views/shared/_no_ssh.html.haml @@ -1,7 +1,7 @@ - if show_no_ssh_key_message? = render Pajamas::AlertComponent.new(variant: :warning, - alert_class: 'js-no-ssh-message', - close_button_class: 'js-hide-no-ssh-message') do |c| + alert_options: { class: 'js-no-ssh-message' }, + close_button_options: { class: 'js-hide-no-ssh-message'}) do |c| = c.body do = s_("MissingSSHKeyWarningLink|You can't push or pull repositories using SSH until you add an SSH key to your profile.") = c.actions do |