2020-12-14 19:06:34 +11:00
|
|
|
.directory__tag
|
|
|
|
= link_to admin_instance_path(instance) do
|
|
|
|
%h4
|
2024-08-08 09:08:36 +10:00
|
|
|
= material_symbol 'warning', title: t('admin.instances.availability.warning') if instance.failing?
|
2020-12-14 19:06:34 +11:00
|
|
|
= instance.domain
|
2022-03-09 18:52:32 +11:00
|
|
|
|
2020-12-14 19:06:34 +11:00
|
|
|
%small
|
|
|
|
- if instance.domain_block
|
2023-06-03 03:58:18 +10:00
|
|
|
= instance.domain_block.policies.map { |policy| t(policy, scope: 'admin.instances.content_policies.policies') }.join(' · ')
|
2024-02-28 23:07:06 +11:00
|
|
|
- if instance.domain_block.public_comment.present?
|
|
|
|
%span.comment.public-comment #{t('admin.domain_blocks.public_comment')}: #{instance.domain_block.public_comment}
|
|
|
|
- if instance.domain_block.private_comment.present?
|
|
|
|
%span.comment.private-comment #{t('admin.domain_blocks.private_comment')}: #{instance.domain_block.private_comment}
|
2022-03-09 18:52:32 +11:00
|
|
|
- elsif instance.domain_allow
|
2020-12-14 19:06:34 +11:00
|
|
|
= t('admin.accounts.whitelisted')
|
|
|
|
- else
|
|
|
|
= t('admin.accounts.no_limits_imposed')
|
2022-03-09 18:52:32 +11:00
|
|
|
|
2021-07-08 05:13:08 +10:00
|
|
|
.trends__item__current{ title: t('admin.instances.known_accounts', count: instance.accounts_count) }= friendly_number_to_human instance.accounts_count
|