Added created date to reports page for each report

• Added:
- created date to reports page for each report in admind moderation dashboard
This commit is contained in:
Developer 2021-02-19 12:38:13 -05:00
parent 32ac987ef0
commit f1a857a7b4
1 changed files with 3 additions and 6 deletions

View File

@ -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