Reports: Merge contents and comment columns (#7189)

pull/7062/merge
Emelia Smith 2018-04-19 15:39:54 +02:00 committed by Eugen Rochko
parent ba917e15f6
commit b9c35785e2
2 changed files with 11 additions and 12 deletions

View File

@ -5,10 +5,10 @@
= link_to report.target_account.acct, admin_account_path(report.target_account.id) = link_to report.target_account.acct, admin_account_path(report.target_account.id)
%td.reporter %td.reporter
= link_to report.account.acct, admin_account_path(report.account.id) = link_to report.account.acct, admin_account_path(report.account.id)
%td.comment %td
%span{ title: report.comment } %div{ title: report.comment }
= truncate(report.comment, length: 30, separator: ' ') = truncate(report.comment, length: 30, separator: ' ')
%td.stats %div
- unless report.statuses.empty? - unless report.statuses.empty?
%span{ title: t('admin.accounts.statuses') } %span{ title: t('admin.accounts.statuses') }
= fa_icon('comment') = fa_icon('comment')

View File

@ -18,7 +18,6 @@
%th= t('admin.reports.id') %th= t('admin.reports.id')
%th= t('admin.reports.target') %th= t('admin.reports.target')
%th= t('admin.reports.reported_by') %th= t('admin.reports.reported_by')
%th= t('admin.reports.comment.label')
%th= t('admin.reports.report_contents') %th= t('admin.reports.report_contents')
%th= t('admin.reports.assigned') %th= t('admin.reports.assigned')
%th %th