mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-28 16:07:51 +00:00
WIP
This commit is contained in:
parent
3f330d95b1
commit
79b553503e
|
@ -52,12 +52,8 @@
|
||||||
- reports.each do |report|
|
- reports.each do |report|
|
||||||
.report-card__summary__item
|
.report-card__summary__item
|
||||||
.report-card__summary__item__reported-by
|
.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'
|
= link_to admin_report_path(report), class: 'report-card__summary__item__report-id' do
|
||||||
%br
|
.one-line= t('admin.reports.report', id: report.id)
|
||||||
|
|
||||||
.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: t('admin.accounts.statuses') }
|
%span.report-card__summary__item__content__icon{ title: t('admin.accounts.statuses') }
|
||||||
= material_symbol('comment')
|
= material_symbol('comment')
|
||||||
|
@ -67,6 +63,11 @@
|
||||||
= material_symbol('photo_camera')
|
= material_symbol('photo_camera')
|
||||||
= report.media_attachments_count
|
= 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: }
|
%span.report-card__summary__item__content__icon{ title: }
|
||||||
- if report.account.instance_actor?
|
- if report.account.instance_actor?
|
||||||
= material_symbol('cloud')
|
= material_symbol('cloud')
|
||||||
|
@ -86,8 +87,10 @@
|
||||||
%span.report-card__summary__item__content__icon{ title: t('admin.reports.notes.title') }
|
%span.report-card__summary__item__content__icon{ title: t('admin.reports.notes.title') }
|
||||||
= material_symbol('comment')
|
= material_symbol('comment')
|
||||||
= report.notes.count
|
= report.notes.count
|
||||||
|
= t('admin.reports.notes.title')
|
||||||
|
%br
|
||||||
- if report.assigned_account.present?
|
- if report.assigned_account.present?
|
||||||
= admin_account_link_to report.assigned_account
|
= admin_account_link_to report.assigned_account
|
||||||
- else
|
- else
|
||||||
\-
|
unassigned
|
||||||
= paginate @reports
|
= paginate @reports
|
||||||
|
|
Loading…
Reference in a new issue