From: radhika Date: Tue, 29 Jul 2014 19:15:01 +0000 (-0400) Subject: 3193: show only a portion of the ssh key so that the page does not have to scroll... X-Git-Tag: 1.1.0~2388^2~25 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/656cf0fc10b40f6a9a76a24bae12f189dffae5e5 3193: show only a portion of the ssh key so that the page does not have to scroll too far down when there are multiple ssh keys configured. --- 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 44dc660524..4384041695 100644 --- a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb +++ b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb @@ -10,7 +10,7 @@ <% end %> <% if @my_ssh_keys.andand.any? %> - +
@@ -26,14 +26,14 @@ <% @my_ssh_keys.andand.each do |key| %> - -
+ <%= key[:name] %> + <%= key[:public_key] %> - <%= 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 %>