summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/_key.html.haml
blob: 9bbccbc45ea59b7607a91784e3bcd321dd5ad0db (plain)
1
2
3
4
5
6
7
8
9
10
11
%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"