Feature: add count of account notes to reports (#7130)

* Reports: Colocate account details with reports

* Reports: Add count of account moderation notes

Sometimes an account will be left with a note instead of the report, this adds a way to quickly see from a given report if this is the case.
This commit is contained in:
Emelia Smith
2018-04-17 14:58:11 +02:00
committed by Eugen Rochko
parent ef12a2b74c
commit 204d72fbe4
4 changed files with 32 additions and 19 deletions

View File

@ -60,11 +60,11 @@
.report-accounts__item
%h3= t('admin.reports.reported_account')
= render 'authorize_follows/card', account: @report.target_account, admin: true
= render 'admin/accounts/card', account: @report.target_account
= render 'admin/reports/account_details', account: @report.target_account
.report-accounts__item
%h3= t('admin.reports.reported_by')
= render 'authorize_follows/card', account: @report.account, admin: true
= render 'admin/accounts/card', account: @report.account
= render 'admin/reports/account_details', account: @report.account
%h3= t('admin.reports.comment.label')