闭社主体 forked from https://github.com/tootsuite/mastodon
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.

32 lines
962 B

  1. - content_for :page_title do
  2. = t('reports.reports')
  3. .filters
  4. .filter-subset
  5. %strong= t('reports.status')
  6. %ul
  7. %li= filter_link_to t('reports.unresolved'), action_taken: nil
  8. %li= filter_link_to t('reports.resolved'), action_taken: '1'
  9. = form_tag do
  10. %table.table
  11. %thead
  12. %tr
  13. %th
  14. %th= t('reports.id')
  15. %th= t('reports.target')
  16. %th= t('reports.reported_by')
  17. %th= t('reports.comment.label')
  18. %th
  19. %tbody
  20. - @reports.each do |report|
  21. %tr
  22. %td= check_box_tag 'select', report.id
  23. %td= "##{report.id}"
  24. %td= link_to report.target_account.acct, admin_account_path(report.target_account.id)
  25. %td= link_to report.account.acct, admin_account_path(report.account.id)
  26. %td= truncate(report.comment, length: 30, separator: ' ')
  27. %td= table_link_to 'circle', t('reports.view'), admin_report_path(report)
  28. = paginate @reports