This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2020-12-14 00:06:34 -08:00
|
|
|
.directory__tag
|
|
|
|
= link_to admin_instance_path(instance) do
|
|
|
|
%h4
|
2022-03-22 10:41:46 -07:00
|
|
|
= fa_icon 'warning fw', title: t('admin.instances.availability.warning') if instance.failing?
|
2020-12-14 00:06:34 -08:00
|
|
|
= instance.domain
|
2022-03-08 23:52:32 -08:00
|
|
|
|
2020-12-14 00:06:34 -08:00
|
|
|
%small
|
|
|
|
- if instance.domain_block
|
2022-03-08 23:52:32 -08:00
|
|
|
= instance.domain_block.policies.map { |policy| t(policy, scope: 'admin.instances.content_policies.policies') }.join(' • ')
|
|
|
|
- elsif instance.domain_allow
|
2020-12-14 00:06:34 -08:00
|
|
|
= t('admin.accounts.whitelisted')
|
|
|
|
- else
|
|
|
|
= t('admin.accounts.no_limits_imposed')
|
2022-03-08 23:52:32 -08:00
|
|
|
|
2021-07-07 12:13:08 -07:00
|
|
|
.trends__item__current{ title: t('admin.instances.known_accounts', count: instance.accounts_count) }= friendly_number_to_human instance.accounts_count
|