Skip to content

Commit

Permalink
Fix "reason" prefix being shown with no reason for public blocks (mas…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and hiyuki2578 committed Oct 2, 2019
1 parent c934dd0 commit 5f57750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/about/more.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5f57750

Please sign in to comment.