Updated Verification Requests page to include account display name

• Updated:
- Verification Requests page to include account display name
- position of date and account column in table
This commit is contained in:
Developer 2021-02-10 12:59:30 -05:00
parent 59484da4dc
commit 4490070aa2
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,10 @@
%tr %tr
%td= verification_request.id %td= verification_request.id
%td= verification_request.created_at
%td %td
= link_to verification_request.account.username, admin_account_url(verification_request.account.id) %span
= link_to verification_request.account.display_name, admin_account_url(verification_request.account.id)
%span{ :style => "color:#bbb;margin-left:5px;" }= "@#{verification_request.account.username}"
%td= verification_request.created_at
%td %td
= table_link_to 'download', t('verifications.moderation.view_proof'), verification_request.image.url, target: "_blank" = table_link_to 'download', t('verifications.moderation.view_proof'), verification_request.image.url, target: "_blank"
= table_link_to 'checkmark', t('verifications.moderation.approve'), settings_verifications_approve_url(verification_request.id) = table_link_to 'checkmark', t('verifications.moderation.approve'), settings_verifications_approve_url(verification_request.id)

View File

@ -8,8 +8,8 @@
%thead %thead
%tr %tr
%th= t('verifications.moderation.id') %th= t('verifications.moderation.id')
%th= t('verifications.moderation.date')
%th= t('verifications.moderation.account') %th= t('verifications.moderation.account')
%th= t('verifications.moderation.date')
%th %th
%tbody %tbody
= render partial: 'settings/verifications/moderation/verification_request', collection: @verification_requests, as: :verification_request = render partial: 'settings/verifications/moderation/verification_request', collection: @verification_requests, as: :verification_request