{# Report tables. Each block: title, icon, columns [(label, "start"|"end")], rows [[cell]], foot, note, empty. A cell is text, or a dict with text, url, bold, color ("danger"/"success"), indent. #} {% macro cell(value, align, foot=False) -%} {% set c = value if value is mapping else {'text': value} %}
| {{ __(label) }} | {% endfor %}
|---|
{{ __(b.empty or 'Nothing here for this period.') }}
{% endif %} {% if b.note %}{{ b.note }}
{% endif %}