debian-mirror-gitlab/app/views/profiles/keys/_key.html.haml
2015-09-11 14:41:01 +05:30

11 lines
366 B
Text

%tr
%td
= link_to path_to_key(key, is_admin) do
%strong= key.title
%td
%code.key-fingerprint= key.fingerprint
%td
%span.cgray
added #{time_ago_with_tooltip(key.created_at)}
%td
= link_to 'Remove', path_to_key(key, is_admin), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-sm btn-remove delete-key pull-right"