{% load components %} {# ─── USX Table Foot ──────────────────────────────────────────────────────────── #} {# Props (passed via {% include ... with ... %}): #} {# leaf_columns list[dict] visible leaf column definitions #} {# footerValues dict {col_key: value} from compute_footer() #} {# selectionMode 'checkbox'|'radio'|None #} {# rowDetails truthy when row-detail column is present #} {# ──────────────────────────────────────────────────────────────────────────────── #} {# Empty cell for row-detail column #} {% if rowDetails %} {% endif %} {# Empty cell for selection column #} {% if selectionMode and selectionMode != "null" %} {% endif %} {# Footer values per leaf column #} {% for col in leaf_columns %} {% for fk, fv in footerValues.items %}{% if fk == col.key %}{{ fv }}{% endif %}{% endfor %} {% endfor %}