This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-18 13:00:55 -07:00
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= link_to proof.badge.profile_url, class: 'name-tag' do
|
|
|
|
= image_tag proof.badge.avatar_url, width: 15, height: 15, alt: '', class: 'avatar'
|
|
|
|
%span.username
|
|
|
|
= proof.provider_username
|
|
|
|
%span= "(#{proof.provider.capitalize})"
|
|
|
|
|
|
|
|
%td
|
|
|
|
- if proof.live?
|
|
|
|
%span.positive-hint
|
|
|
|
= fa_icon 'check-circle fw'
|
|
|
|
= t('identity_proofs.active')
|
|
|
|
- else
|
|
|
|
%span.negative-hint
|
|
|
|
= fa_icon 'times-circle fw'
|
|
|
|
= t('identity_proofs.inactive')
|
|
|
|
|
|
|
|
%td
|
|
|
|
= table_link_to 'external-link', t('identity_proofs.view_proof'), proof.badge.proof_url if proof.badge.proof_url
|
2020-05-10 02:21:10 -07:00
|
|
|
= table_link_to 'trash', t('identity_proofs.remove'), settings_identity_proof_path(proof), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
|