From 656cf0fc10b40f6a9a76a24bae12f189dffae5e5 Mon Sep 17 00:00:00 2001 From: radhika Date: Tue, 29 Jul 2014 15:15:01 -0400 Subject: [PATCH] 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. --- apps/workbench/app/views/users/_manage_ssh_keys.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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| %> - - -- 2.30.2
+ <%= 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 %>