{% load url from future %} {% load i18n l10n %} {% if table.page.object_list or table.rows %}
{% for column in table.columns %} | {% if column.sortable %} {% if column.order_by %} {{ column }} {% if column.order_by.is_ascending %} {% else %} {% endif %} {% else %} {{ column }} {% endif %} {% else %} {{ column }} {% endif %} | {% endfor %} {% if not hide_quick_look %}{% endif %} |
---|---|---|
{% for value in row %} | {% if forloop.first %} {{ value }} {% else %} {% if value %} {{ value }} {% else %} – {% endif %} {% endif %} | {% endfor %} {% if not hide_quick_look %}{% trans "Quick Look" %} | {% endif %}