diff options
author | Mélanie Chauvel <perso@hack-libre.org> | 2020-06-09 10:28:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 10:28:02 +0200 |
commit | ac3c83ef6fe207a22d67ff8912e74c21c6b61daf (patch) | |
tree | f68d490ea7501c811b7ce115acf9339e54a81bd7 /app/views | |
parent | d890abfcab076f5df4eafb75397435d32c641e20 (diff) |
Improve wording and add titles on moderated servers section in /about/more (#13930)
Diffstat (limited to 'app/views')
-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 7e156db61..4152a3601 100644 --- a/app/views/about/more.html.haml +++ b/app/views/about/more.html.haml @@ -56,12 +56,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 } |