{# Keyboard-sortable registry headers (ERPListView.get_header_columns; aria-sort on the sorted column; priority classes, 5.6). #} {% for col in header_columns %} {% if col.sortable %} {{ col.label }}{% if col.aria_sort == "ascending" %}{% elif col.aria_sort == "descending" %}{% else %}{% endif %} {% elif col.source == "definition" %}{{ col.label }} {% else %}{{ col.label }}{% endif %} {% endfor %}