diff --git a/app/views/admin/reports/index.html.haml b/app/views/admin/reports/index.html.haml index 4f7918fb6a..60ec6b8464 100644 --- a/app/views/admin/reports/index.html.haml +++ b/app/views/admin/reports/index.html.haml @@ -52,12 +52,8 @@ - reports.each do |report| .report-card__summary__item .report-card__summary__item__reported-by - = link_to t('admin.reports.report', id: report.id), admin_report_path(report), class: 'report-card__summary__item__report-id' - %br - - .report-card__summary__item__content - = link_to admin_report_path(report) do - .one-line= report.comment.presence || t('admin.reports.comment.none') + = link_to admin_report_path(report), class: 'report-card__summary__item__report-id' do + .one-line= t('admin.reports.report', id: report.id) %span.report-card__summary__item__content__icon{ title: t('admin.accounts.statuses') } = material_symbol('comment') @@ -67,6 +63,11 @@ = material_symbol('photo_camera') = report.media_attachments_count + .report-card__summary__item__content + = link_to admin_report_path(report) do + .one-line= report.comment.presence || t('admin.reports.comment.none') + + %span.report-card__summary__item__content__icon{ title: } - if report.account.instance_actor? = material_symbol('cloud') @@ -86,8 +87,10 @@ %span.report-card__summary__item__content__icon{ title: t('admin.reports.notes.title') } = material_symbol('comment') = report.notes.count + = t('admin.reports.notes.title') + %br - if report.assigned_account.present? = admin_account_link_to report.assigned_account - else - \- + unassigned = paginate @reports