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.

39 lines
1.3 KiB

  1. - content_for :page_title do
  2. = t('admin.relationships.title', acct: @account.acct)
  3. .filters
  4. .filter-subset
  5. %strong= t 'relationships.relationship'
  6. %ul
  7. %li= filter_link_to t('relationships.following'), relationship: nil
  8. %li= filter_link_to t('relationships.followers'), relationship: 'followed_by'
  9. %li= filter_link_to t('relationships.mutual'), relationship: 'mutual'
  10. %li= filter_link_to t('relationships.invited'), relationship: 'invited'
  11. .filter-subset
  12. %strong= t('admin.accounts.location.title')
  13. %ul
  14. %li= filter_link_to t('admin.accounts.moderation.all'), location: nil
  15. %li= filter_link_to t('admin.accounts.location.local'), location: 'local'
  16. %li= filter_link_to t('admin.accounts.location.remote'), location: 'remote'
  17. .back-link
  18. = link_to admin_account_path(@account.id) do
  19. = fa_icon 'chevron-left fw'
  20. = t('admin.statuses.back_to_account')
  21. %hr.spacer/
  22. .table-wrapper
  23. %table.table
  24. %thead
  25. %tr
  26. %th= t('admin.accounts.username')
  27. %th= t('admin.accounts.role')
  28. %th= t('admin.accounts.most_recent_ip')
  29. %th= t('admin.accounts.most_recent_activity')
  30. %th
  31. %tbody
  32. = render partial: 'admin/accounts/account', collection: @accounts
  33. = paginate @accounts