Admin reports with accounts (#2092)

* Add a ReportFilter class

* Add reports and targeted_reports relationships to Account

* Use ReportFilter from admin/reports controller

* Link to admin/reports filtered views from admin account show view

* Add indexes to reports.account_id and reports.target_account_id
This commit is contained in:
Matt Jankowski
2017-04-18 13:36:18 -04:00
committed by Eugen
parent f23281e31e
commit 66d8f99a30
9 changed files with 92 additions and 5 deletions

View File

@ -73,6 +73,10 @@ en:
push_subscription_expires: PuSH subscription expires
reset_password: Reset password
salmon_url: Salmon URL
show:
created_reports: Reports created by this account
report: report
targeted_reports: Reports made about this account
silence: Silence
statuses: Statuses
title: Accounts