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.

16 lines
661 B

  1. - content_for :page_title do
  2. = t('follow_requests.title')
  3. - if @follow_requests.empty?
  4. %p.nothing-here= t('accounts.nothing_here')
  5. - else
  6. %table.table
  7. %tbody
  8. - @follow_requests.each do |follow_request|
  9. %tr
  10. %td= link_to follow_request.account.acct, web_path("accounts/#{follow_request.account.id}")
  11. %td
  12. = table_link_to 'check-circle', t('follow_requests.authorize'), authorize_follow_request_path(follow_request), method: :post
  13. = table_link_to 'times-circle', t('follow_requests.reject'), reject_follow_request_path(follow_request), method: :post
  14. .form-footer= render "settings/shared/links"