X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da51b9328abab2df757ed13eadc7c3557315094b..c11f254a98e7caf437422d86eab38c7ba4f04096:/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 b92dfe67de..a17a4517e1 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,11 @@ - <%= image_tag "dax.png", class: "dax" %> +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + + <%= 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.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 %>