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.

29 lines
958 B

  1. - content_for :header_tags do
  2. = javascript_pack_tag 'admin', integrity: true, async: true, crossorigin: 'anonymous'
  3. - content_for :page_title do
  4. = t('admin.followers.title', acct: @account.acct)
  5. .filters
  6. .filter-subset
  7. %strong= t('admin.accounts.location.title')
  8. %ul
  9. %li= link_to t('admin.accounts.location.local'), admin_account_followers_path(@account.id), class: 'selected'
  10. .back-link{ style: 'flex: 1 1 auto; text-align: right' }
  11. = link_to admin_account_path(@account.id) do
  12. %i.fa.fa-chevron-left.fa-fw
  13. = t('admin.followers.back_to_account')
  14. .table-wrapper
  15. %table.table
  16. %thead
  17. %tr
  18. %th= t('admin.accounts.username')
  19. %th= t('admin.accounts.role')
  20. %th= t('admin.accounts.most_recent_ip')
  21. %th= t('admin.accounts.most_recent_activity')
  22. %th
  23. %tbody
  24. = render partial: 'admin/accounts/account', collection: @followers.map{|a| a.account}
  25. = paginate @followers