Fix public list of domain blocks being too verbose on about page (#11967)

This commit is contained in:
Eugen Rochko
2019-09-29 16:23:01 +02:00
committed by GitHub
parent 0a49b26793
commit bd9685f798
5 changed files with 65 additions and 84 deletions

View File

@ -0,0 +1,10 @@
%table
%thead
%tr
%th= t('about.unavailable_content_description.domain')
%th= t('about.unavailable_content_description.reason')
%tbody
- domain_blocks.each do |domain_block|
%tr
%td.nowrap= domain_block.domain
%td= domain_block.public_comment if display_blocks_rationale?