mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
14 lines
398 B
Plaintext
14 lines
398 B
Plaintext
.report__table-container
|
|
%table.report__table
|
|
%thead
|
|
%tr
|
|
- report.table_headers.each do |heading|
|
|
%th
|
|
= heading
|
|
%tbody
|
|
- if report.grouped_data.present?
|
|
= render partial: 'admin/reports/row_group', locals: { report: report, data: report.grouped_data }
|
|
- else
|
|
%tr
|
|
%td{colspan: report.table_headers.count}= t(:none)
|