diff options
author | Jeong Arm <kjwonmail@gmail.com> | 2024-02-28 21:07:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 12:07:06 +0000 |
commit | deffb8ecb6d2eb384e4d9237f4918be664f21cf9 (patch) | |
tree | 8d323b6aa44140459f1ac6893ff491c81229d0f7 /app/views/admin | |
parent | edfc53856f03e3948c2c6760bb425f74dbb24178 (diff) |
Show comments in the admin/instances page (#29240)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/instances/_instance.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/admin/instances/_instance.html.haml b/app/views/admin/instances/_instance.html.haml index 65cf789ce31..522a2444bb9 100644 --- a/app/views/admin/instances/_instance.html.haml +++ b/app/views/admin/instances/_instance.html.haml @@ -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 |