Skip to content
Snippets Groups Projects
Commit b9c35785 authored by Emelia Smith's avatar Emelia Smith Committed by Eugen Rochko
Browse files

Reports: Merge contents and comment columns (#7189)

parent ba917e15
No related branches found
No related tags found
No related merge requests found
......@@ -5,18 +5,18 @@
= link_to report.target_account.acct, admin_account_path(report.target_account.id)
%td.reporter
= link_to report.account.acct, admin_account_path(report.account.id)
%td.comment
%span{ title: report.comment }
%td
%div{ title: report.comment }
= truncate(report.comment, length: 30, separator: ' ')
%td.stats
- unless report.statuses.empty?
%span{ title: t('admin.accounts.statuses') }
= fa_icon('comment')
= report.statuses.count
- unless report.media_attachments.empty?
%span{ title: t('admin.accounts.media_attachments') }
= fa_icon('camera')
= report.media_attachments.count
%div
- unless report.statuses.empty?
%span{ title: t('admin.accounts.statuses') }
= fa_icon('comment')
= report.statuses.count
- unless report.media_attachments.empty?
%span{ title: t('admin.accounts.media_attachments') }
= fa_icon('camera')
= report.media_attachments.count
%td
- if report.assigned_account.nil?
\-
......
......@@ -18,7 +18,6 @@
%th= t('admin.reports.id')
%th= t('admin.reports.target')
%th= t('admin.reports.reported_by')
%th= t('admin.reports.comment.label')
%th= t('admin.reports.report_contents')
%th= t('admin.reports.assigned')
%th
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment