diff options
Diffstat (limited to 'app/views/about')
-rw-r--r-- | app/views/about/more.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml index 03be3f423..0a12ab8d6 100644 --- a/app/views/about/more.html.haml +++ b/app/views/about/more.html.haml @@ -55,12 +55,15 @@ %p= t('about.unavailable_content_html') - if (blocks = @blocks.select(&:reject_media?)) && !blocks.empty? + %h3= t('about.unavailable_content_description.rejecting_media_title') %p= t('about.unavailable_content_description.rejecting_media') = render partial: 'domain_blocks', locals: { domain_blocks: blocks } - if (blocks = @blocks.select(&:silence?)) && !blocks.empty? + %h3= t('about.unavailable_content_description.silenced_title') %p= t('about.unavailable_content_description.silenced') = render partial: 'domain_blocks', locals: { domain_blocks: blocks } - if (blocks = @blocks.select(&:suspend?)) && !blocks.empty? + %h3= t('about.unavailable_content_description.suspended_title') %p= t('about.unavailable_content_description.suspended') = render partial: 'domain_blocks', locals: { domain_blocks: blocks } |