mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-19 05:37:42 +00:00
e85cffb236
* Implement Assignment of Reports (#6967) * Change translation of admin.report.comment.label to "Report Comment" for clarity As we'll soon add the ability for reports to have comments on them, this clarification makes sense. * Implement notes for Reports This enables moderators to leave comments about a report whilst they work on it * Fix display of report moderation notes * Allow reports to be reopened / marked as unresolved * Redirect to reports listing upon resolution of report * Implement "resolve with note" functionality * Add inverse relationship for report notes * Remove additional database querying when loading report notes * Fix tests for reports * Fix localisations for report notes / reports
29 lines
703 B
Plaintext
29 lines
703 B
Plaintext
- content_for :page_title do
|
|
= t('admin.reports.title')
|
|
|
|
.filters
|
|
.filter-subset
|
|
%strong= t('admin.reports.status')
|
|
%ul
|
|
%li= filter_link_to t('admin.reports.unresolved'), resolved: nil
|
|
%li= filter_link_to t('admin.reports.resolved'), resolved: '1'
|
|
|
|
= form_tag do
|
|
|
|
.table-wrapper
|
|
%table.table
|
|
%thead
|
|
%tr
|
|
-# %th
|
|
%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
|
|
%tbody
|
|
= render @reports
|
|
|
|
= paginate @reports
|