mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
bd53dd5210
* Change design of federation pages in admin UI * Fix query performance in instance media attachments measure * Fix reblogs being included in instance languages dimension
16 lines
631 B
Plaintext
16 lines
631 B
Plaintext
.directory__tag
|
|
= link_to admin_instance_path(instance) do
|
|
%h4
|
|
= fa_icon 'warning fw' if instance.failing?
|
|
= instance.domain
|
|
|
|
%small
|
|
- if instance.domain_block
|
|
= instance.domain_block.policies.map { |policy| t(policy, scope: 'admin.instances.content_policies.policies') }.join(' • ')
|
|
- elsif instance.domain_allow
|
|
= t('admin.accounts.whitelisted')
|
|
- else
|
|
= t('admin.accounts.no_limits_imposed')
|
|
|
|
.trends__item__current{ title: t('admin.instances.known_accounts', count: instance.accounts_count) }= friendly_number_to_human instance.accounts_count
|