From f1a857a7b41fe9b443f16984c4ab05b439d3ef7e Mon Sep 17 00:00:00 2001 From: Developer <> Date: Fri, 19 Feb 2021 12:38:13 -0500 Subject: [PATCH] Added created date to reports page for each report MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Added: - created date to reports page for each report in admind moderation dashboard --- app/views/admin/reports/index.html.haml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/views/admin/reports/index.html.haml b/app/views/admin/reports/index.html.haml index 2c79dec0..3402d10a 100644 --- a/app/views/admin/reports/index.html.haml +++ b/app/views/admin/reports/index.html.haml @@ -51,7 +51,7 @@ = admin_account_link_to report.account - else = report.account.domain - .report-card__summary__item__content + .report-card__summary__item__content{style: "max-width: calc(100% - 370px)!important;"} = link_to admin_report_path(report) do .one-line= report.comment.presence || t('admin.reports.comment.none') @@ -63,9 +63,6 @@ = fa_icon('camera') = report.media_attachments.count - .report-card__summary__item__assigned - - if report.assigned_account.present? - = admin_account_link_to report.assigned_account - - else - \- + .report-card__summary__item__assigned{style: "width:220px;text-align:right;"} + %time.formatted{ datetime: report.created_at.iso8601 } = paginate @reports