<% #-- # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # Copyright (C) 2007, 2008 Johan Sørensen # Copyright (C) 2008 Tor Arne Vestbø # Copyright (C) 2009 Fabio Akita # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #++ %> <% @page_title = "SSH Keys" -%> <%= breadcrumbs_from(@root) -%>

<%= t("views.keys.ssh_keys") %>

<% @ssh_keys.each do |ssh_key| -%> <% end -%>
Uploaded Name Algorithm Fingerprint Ready?
<%= ssh_key.created_at.to_s(:short) -%> <%= truncate(h(ssh_key.comment), :length => 20) -%> <%=h ssh_key.algorithm -%> <%= wbr_middle(h(ssh_key.fingerprint)) -%> <%= image_tag(ssh_key.ready? ? "silk/tick.png" : "spinner.gif", :title => ssh_key.ready? ? 'Ready' : 'Not ready') -%> <%= button_to t("views.common.delete"), user_key_path(current_user, ssh_key), :confirm => t("views.common.confirm"), :method => :delete, :class => "inline" -%>
<% content_for :sidebar do -%> <% end -%>