summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/_key.html.haml
blob: 4dbaa662b66e7541c8ef0f24d0ce37cc5c075abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%li.key-list-item
  .pull-left.append-right-10
    = icon 'key', class: "key-icon hidden-xs"
  .key-list-item-info
    = link_to path_to_key(key, is_admin), class: "title" do
      = key.title
    .description
      = key.fingerprint
  .pull-right
    %span.key-created-at
      created #{time_ago_with_tooltip(key.created_at)}
    = link_to path_to_key(key, is_admin), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-transparent prepend-left-10" do
      %span.sr-only Remove
      = icon('trash')