|
|
@ -33,21 +33,22 @@ |
|
|
|
%h4 |
|
|
|
%h4 |
|
|
|
= instance.domain |
|
|
|
= instance.domain |
|
|
|
%small |
|
|
|
%small |
|
|
|
= t('admin.instances.known_accounts', count: instance.cached_accounts_count) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- if instance.domain_block |
|
|
|
- if instance.domain_block |
|
|
|
|
|
|
|
- first_item = true |
|
|
|
- if !instance.domain_block.noop? |
|
|
|
- if !instance.domain_block.noop? |
|
|
|
• |
|
|
|
|
|
|
|
= t("admin.domain_blocks.severity.#{instance.domain_block.severity}") |
|
|
|
= t("admin.domain_blocks.severity.#{instance.domain_block.severity}") |
|
|
|
|
|
|
|
- first_item = false |
|
|
|
- if instance.domain_block.reject_media? |
|
|
|
- if instance.domain_block.reject_media? |
|
|
|
• |
|
|
|
- unless first_item |
|
|
|
|
|
|
|
• |
|
|
|
= t('admin.domain_blocks.rejecting_media') |
|
|
|
= t('admin.domain_blocks.rejecting_media') |
|
|
|
|
|
|
|
- first_item = false |
|
|
|
- if instance.domain_block.reject_reports? |
|
|
|
- if instance.domain_block.reject_reports? |
|
|
|
• |
|
|
|
- unless first_item |
|
|
|
|
|
|
|
• |
|
|
|
= t('admin.domain_blocks.rejecting_reports') |
|
|
|
= t('admin.domain_blocks.rejecting_reports') |
|
|
|
|
|
|
|
- else |
|
|
|
.avatar-stack |
|
|
|
= t('admin.accounts.no_limits_imposed') |
|
|
|
- instance.cached_sample_accounts.each do |account| |
|
|
|
- if instance.countable? |
|
|
|
= image_tag current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url, width: 48, height: 48, alt: '', class: 'account__avatar' |
|
|
|
.trends__item__current{ title: t('admin.instances.known_accounts', count: instance.accounts_count) }= number_to_human instance.accounts_count, strip_insignificant_zeros: true |
|
|
|
|
|
|
|
|
|
|
|
= paginate paginated_instances |
|
|
|
= paginate paginated_instances |
|
|
|