{% extends 'admin/master.html' %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/actions.html' as actionlib with context %} {% block head %} {% endblock %} {% block body %}
{% if filter_groups %} {% endif %}{% endif %} | {% set column = 0 %} {% for c, name in list_columns %} | {% if admin_view.is_sortable(c) %} {% if sort_column == column %} {{ name }} {% if sort_desc %} {% else %} {% endif %} {% else %} {{ name }} {% endif %} {% else %} {{ name }} {% endif %} | {% set column = column + 1 %} {% endfor %} {% endblock %}
---|---|---|
{% endif %} | {% block list_row_actions scoped %} {%- if admin_view.can_edit -%} {%- endif -%} {%- if admin_view.can_delete -%} {%- endif -%} {% endblock %} | {% for c, name in list_columns %}{{ get_value(row, c) }} | {% endfor %} {% endblock %}