summaryrefslogtreecommitdiffstats
path: root/app/views/admin/accounts/_remote_account.html.haml
blob: 99996e1d46d657d8460160da52b6a25baefbedff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%tr
  %th= t('admin.accounts.inbox_url')
  %td
    = account.inbox_url
    = fa_icon DeliveryFailureTracker.available?(account.inbox_url) ? 'check' : 'times'
  %td
    = table_link_to 'search', domain_block.present? ? t('admin.domain_blocks.view') : t('admin.accounts.view_domain'), admin_instance_path(account.domain)
%tr
  %th= t('admin.accounts.shared_inbox_url')
  %td
    = account.shared_inbox_url
    = fa_icon DeliveryFailureTracker.available?(account.shared_inbox_url) ? 'check' : 'times'
  %td
    - if domain_block.nil?
      = table_link_to 'ban', t('admin.domain_blocks.add_new'), new_admin_domain_block_path(_domain: account.domain)