mashirozx/mastodon

View on GitHub
app/views/about/_domain_blocks.html.haml

Summary

Maintainability
Test Coverage
%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
          %span{ title: "SHA-256: #{domain_block.domain_digest}" }= domain_block.public_domain
        %td
          = domain_block.public_comment if display_blocks_rationale?