diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-13 03:44:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 03:44:08 +0200 |
commit | 011437dcb5c4719ad6627f3a4dc07a5ce1bd9db8 (patch) | |
tree | d20890e83bb58eda30205d355aad49402ace7622 /app/views/admin/reports/_report.html.haml | |
parent | 7b7c26063e3fcf9e75a61780d81bd60b7c398ead (diff) |
Group reports by target account (#8674)
* Group reports by target account * Improve CSS
Diffstat (limited to 'app/views/admin/reports/_report.html.haml')
-rw-r--r-- | app/views/admin/reports/_report.html.haml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/views/admin/reports/_report.html.haml b/app/views/admin/reports/_report.html.haml deleted file mode 100644 index 7b25c924b..000000000 --- a/app/views/admin/reports/_report.html.haml +++ /dev/null @@ -1,29 +0,0 @@ -%tr - %td.id - = "##{report.id}" - %td.target - = admin_account_link_to report.target_account - %td.reporter - - if report.account.local? - = admin_account_link_to report.account - - else - = report.account.domain - %td - %div{ title: report.comment } - = truncate(report.comment, length: 30, separator: ' ') - %div - - unless report.statuses.empty? - %span{ title: t('admin.accounts.statuses') } - = fa_icon('comment') - = report.statuses.count - - unless report.media_attachments.empty? - %span{ title: t('admin.accounts.media_attachments') } - = fa_icon('camera') - = report.media_attachments.count - %td - - if report.assigned_account.nil? - \- - - else - = admin_account_link_to report.assigned_account - %td - = table_link_to 'circle', t('admin.reports.view'), admin_report_path(report) |