Show comments in the admin/instances page (#29240)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Jeong ArmandClaire authored and GitHub committed 2024-02-28 12:07:06 +00:00
1 parent edfc53856f
commit deffb8ecb6
2 files changed
+21

No files matched your search

@@ -7,6 +7,10 @@
%small
- if instance.domain_block
= instance.domain_block.policies.map { |policy| t(policy, scope: 'admin.instances.content_policies.policies') }.join(' · ')
- 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}
- elsif instance.domain_allow
= t('admin.accounts.whitelisted')
- else