mirror of https://github.com/tootsuite/mastodon
Fix bug where if a domain_allow record existed in open federation mode, the text read 'allowed for federation' instead of 'not limits imposed'
parent
0248bca3c7
commit
a931ccdc4d
|
@ -11,7 +11,7 @@
|
||||||
%span.comment.public-comment #{t('admin.domain_blocks.public_comment')}: #{instance.domain_block.public_comment}
|
%span.comment.public-comment #{t('admin.domain_blocks.public_comment')}: #{instance.domain_block.public_comment}
|
||||||
- if instance.domain_block.private_comment.present?
|
- if instance.domain_block.private_comment.present?
|
||||||
%span.comment.private-comment #{t('admin.domain_blocks.private_comment')}: #{instance.domain_block.private_comment}
|
%span.comment.private-comment #{t('admin.domain_blocks.private_comment')}: #{instance.domain_block.private_comment}
|
||||||
- elsif instance.domain_allow
|
- elsif limited_federation_mode? && instance.domain_allow
|
||||||
= t('admin.accounts.whitelisted')
|
= t('admin.accounts.whitelisted')
|
||||||
- else
|
- else
|
||||||
= t('admin.accounts.no_limits_imposed')
|
= t('admin.accounts.no_limits_imposed')
|
||||||
|
|
Loading…
Reference in New Issue