logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

_report.html.haml (911B)


  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. - if report.assigned_account.nil?
  22. \-
  23. - else
  24. = link_to report.assigned_account.acct, admin_account_path(report.assigned_account.id)
  25. %td
  26. = table_link_to 'circle', t('admin.reports.view'), admin_report_path(report)