X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6d7788c4e6b1d3da88833329b326fd7a3891503..a9b4a906124081439326fedc1a1e73fae9c2f40b:/apps/workbench/app/views/users/_manage_ssh_keys.html.erb diff --git a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb index 1165ffa3e1..1ea8f0bf87 100644 --- a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb +++ b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb @@ -2,9 +2,9 @@ <% if !@my_ssh_keys.any? %>

You have not yet set up an SSH public key for use with Arvados.

<%= link_to "Click here", - "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", - style: "font-weight: bold", - target: "_blank" %> to learn about SSH keys in Arvados. + "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", + style: "font-weight: bold", + target: "_blank" %> to learn about SSH keys in Arvados.

When you have an SSH key you would like to use, add it using the Add button.

<% else %> @@ -30,14 +30,20 @@ <% if key[:public_key] && key[:public_key].size > 0 %>
- <%= SSHKey.fingerprint key[:public_key] %> + <%= + begin + SSHKey.fingerprint key[:public_key] + rescue + "INVALID KEY: " + key[:public_key] + end + %>
<% else %> <%= key[:public_key] %> <% end %> - <%= link_to(authorized_key_path(id: key[:uuid]), method: 'delete', class: 'btn btn-sm', data: {confirm: "Really delete key?"}) do %> + <%= link_to(authorized_key_path(id: key[:uuid]), method: :delete, class: 'btn btn-sm', data: {confirm: "Really delete key?"}) do %> <% end %>