You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
754 B

  1. %tr
  2. %td.id
  3. = "##{report.id}"
  4. %td.target
  5. = link_to report.target_account.acct, admin_account_path(report.target_account.id)
  6. %td.reporter
  7. = link_to report.account.acct, admin_account_path(report.account.id)
  8. %td.comment
  9. %span{ title: report.comment }
  10. = truncate(report.comment, length: 30, separator: ' ')
  11. %td.stats
  12. - unless report.statuses.empty?
  13. %span{ title: t('admin.accounts.statuses') }
  14. = fa_icon('comment')
  15. = report.statuses.count
  16. - unless report.media_attachments.empty?
  17. %span{ title: t('admin.accounts.media_attachments') }
  18. = fa_icon('camera')
  19. = report.media_attachments.count
  20. %td
  21. = table_link_to 'circle', t('admin.reports.view'), admin_report_path(report)