about summary refs log tree commit diff
path: root/app/views/about/more.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-21 20:01:02 +0200
committerGitHub <noreply@github.com>2019-09-21 20:01:02 +0200
commit33b2e0f1895f981c13e3257badcd1210c3d86946 (patch)
treea29de4e246666ae3f6b24be6f92a5720d7935f8c /app/views/about/more.html.haml
parentba0de8fb68f5e67312446d1ac351f06d093fc2b8 (diff)
Fix "reason" prefix being shown with no reason for public blocks (#11908)
Diffstat (limited to 'app/views/about/more.html.haml')
-rw-r--r--app/views/about/more.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml
index 4b3035ee8..cba2fe657 100644
--- a/app/views/about/more.html.haml
+++ b/app/views/about/more.html.haml
@@ -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