Fix public list of domain blocks being too verbose on about page (#11967)
This commit is contained in:
parent
0a49b26793
commit
bd9685f798
5 changed files with 65 additions and 84 deletions
10
app/views/about/_domain_blocks.html.haml
Normal file
10
app/views/about/_domain_blocks.html.haml
Normal 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?
|
Loading…
Add table
Add a link
Reference in a new issue