2017-02-22 10:24:48 -05:00
|
|
|
%li.key-list-item
|
|
|
|
.pull-left.append-right-10
|
|
|
|
= icon 'key', class: "settings-list-icon hidden-xs"
|
|
|
|
.key-list-item-info
|
2017-07-04 07:46:33 -04:00
|
|
|
- key.emails_with_verified_status.map do |email, verified|
|
|
|
|
= verified_email_badge(email, verified)
|
|
|
|
|
2017-02-22 10:24:48 -05: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')
|