Fix "reason" prefix being shown with no reason for public blocks (#11908)

rebase/4.0.0rc2
Eugen Rochko 2019-09-21 20:01:02 +02:00 committed by GitHub
parent ba0de8fb68
commit 33b2e0f189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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