mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix "reason" prefix being shown with no reason for public blocks (#11908)
This commit is contained in:
parent
ba0de8fb68
commit
33b2e0f189
@ -65,7 +65,7 @@
|
|||||||
= t('about.unavailable_content_description.silenced') if domain_block.silence?
|
= t('about.unavailable_content_description.silenced') if domain_block.silence?
|
||||||
= t('about.unavailable_content_description.rejecting_media') if domain_block.reject_media?
|
= t('about.unavailable_content_description.rejecting_media') if domain_block.reject_media?
|
||||||
|
|
||||||
- if display_blocks_rationale?
|
- if display_blocks_rationale? && domain_block.public_comment.present?
|
||||||
%strong= t('about.unavailable_content_description.reason')
|
%strong= t('about.unavailable_content_description.reason')
|
||||||
= domain_block.public_comment
|
= domain_block.public_comment
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user