ManageIQ/manageiq-ui-classic

View on GitHub
app/views/layouts/print/report.html.haml

Summary

Maintainability
Test Coverage
%div{:class => "bx--data-table-content miq_table_pdf"}
  %table.bx--data-table.bx--data-table--normal.bx--data-table--no-border.miq-data-table.miq_report
    %thead
      %tr
        - report.headers.each_with_index do |header, i|
          - unless report.column_is_hidden?(report.col_order[i])
            %th
              = h(_(header))
    %tbody
      = data.html_safe