{% extends 'shelf/base/base.html' %} {% import 'shelf/base/lib.html' as lib with context %} {% import 'shelf/model/layout.html' as model_layout with context %} {% import 'shelf/base/actions.html' as actionlib with context %} {% block head %} {{ super() }} {% endblock %} {% block iscontent %}active{% endblock %} {% block body %}
{% 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 %} {% if admin_view.column_descriptions.get(c) %} {% endif %} | {% set column = column + 1 %} {% endfor %} {% block list_row_actions_header %}{% endblock %} {% endblock %} |
---|---|---|
{% endif %} {% for c, name in list_columns %} | {{ get_value(row, c) }} | {% endfor %}{% block list_row_actions scoped %} {%- if admin_view.can_edit -%} {%- endif -%} {%- if admin_view.can_delete -%} {%- endif -%} {% endblock %} | {% endblock %}