Skip to content
Snippets Groups Projects
Unverified Commit 33b2e0f1 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

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

parent ba0de8fb
Branches
Tags
No related merge requests found
......@@ -65,7 +65,7 @@
= t('about.unavailable_content_description.silenced') if domain_block.silence?
= 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')
= domain_block.public_comment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment