X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0e9e78ad4e32fb3a14c6e83091efdbe96f2f03d6..e0f4124bd0156f7cb029e5330e256086962f9e8e:/apps/workbench/app/views/notifications/_ssh_key_notification.html.erb diff --git a/apps/workbench/app/views/notifications/_ssh_key_notification.html.erb b/apps/workbench/app/views/notifications/_ssh_key_notification.html.erb index 1dedb4dc17..382b98841f 100644 --- a/apps/workbench/app/views/notifications/_ssh_key_notification.html.erb +++ b/apps/workbench/app/views/notifications/_ssh_key_notification.html.erb @@ -1,20 +1,7 @@ - <%= image_tag "dax.png", class: "dax" %> + <%= image_tag "dax.png", class: "dax" %>
- Hi, I noticed that you have not yet set up an SSH public key for use with Arvados. - <%= link_to "Click here to learn about SSH keys in Arvados.", - "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", - style: "font-weight: bold", - target: "_blank" %> - When you have an SSH key you would like to use, paste the SSH public key - in the text box. + Hi, I noticed that you have not yet set up an SSH public key for use with Arvados. + <%= link_to ssh_keys_user_path(current_user) do %> + Click here to set up an SSH public key for use with Arvados. + <%end%>
- <%= form_for AuthorizedKey.new, remote: true do |f| %> -
- <%= hidden_field_tag :return_to, request.original_url %> - <%= hidden_field_tag :disable_element, 'input[type=submit]' %> - <%= f.text_area :public_key, rows: 4, placeholder: "Paste your public key here", style: "width: 100%" %> -
-
- <%= f.submit :Save, value: raw("✓"), class: "btn btn-primary pull-right" %> -
-<% end %>