From 4490070aa2965aa3bc68e2e18d13c69b82aaf8de Mon Sep 17 00:00:00 2001 From: Developer <> Date: Wed, 10 Feb 2021 12:59:30 -0500 Subject: [PATCH] Updated Verification Requests page to include account display name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - Verification Requests page to include account display name - position of date and account column in table --- .../moderation/_verification_request.html.haml | 6 ++++-- app/views/settings/verifications/moderation/index.html.haml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/settings/verifications/moderation/_verification_request.html.haml b/app/views/settings/verifications/moderation/_verification_request.html.haml index 6fb10a61..2550f2af 100644 --- a/app/views/settings/verifications/moderation/_verification_request.html.haml +++ b/app/views/settings/verifications/moderation/_verification_request.html.haml @@ -1,8 +1,10 @@ %tr %td= verification_request.id - %td= verification_request.created_at %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 = 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) diff --git a/app/views/settings/verifications/moderation/index.html.haml b/app/views/settings/verifications/moderation/index.html.haml index 9f8b2d6b..4bcf7481 100644 --- a/app/views/settings/verifications/moderation/index.html.haml +++ b/app/views/settings/verifications/moderation/index.html.haml @@ -8,8 +8,8 @@ %thead %tr %th= t('verifications.moderation.id') - %th= t('verifications.moderation.date') %th= t('verifications.moderation.account') + %th= t('verifications.moderation.date') %th %tbody = render partial: 'settings/verifications/moderation/verification_request', collection: @verification_requests, as: :verification_request \ No newline at end of file