diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-21 20:01:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-21 20:01:02 +0200 |
commit | 33b2e0f1895f981c13e3257badcd1210c3d86946 (patch) | |
tree | a29de4e246666ae3f6b24be6f92a5720d7935f8c | |
parent | ba0de8fb68f5e67312446d1ac351f06d093fc2b8 (diff) |
Fix "reason" prefix being shown with no reason for public blocks (#11908)
-rw-r--r-- | app/views/about/more.html.haml | 2 |
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 |