2017-02-22 15:24:48 +00:00
|
|
|
%li.key-list-item
|
|
|
|
.pull-left.append-right-10
|
|
|
|
= icon 'key', class: "settings-list-icon hidden-xs"
|
|
|
|
.key-list-item-info
|
2017-02-24 20:28:26 +00:00
|
|
|
= key.emails_with_verified_status.map { |email, verified| verified_email_badge(email, verified) }.join(' ').html_safe
|
2017-02-22 15:24:48 +00:00
|
|
|
.description
|
|
|
|
= key.fingerprint
|
|
|
|
.pull-right
|
|
|
|
%span.key-created-at
|
|
|
|
created #{time_ago_with_tooltip(key.created_at)}
|
|
|
|
= link_to profile_gpg_key_path(key), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-transparent prepend-left-10" do
|
|
|
|
%span.sr-only Remove
|
|
|
|
= icon('trash')
|