{% extends "admin/base.html" %} {% from "admin/macros/cells.html" import cell_content, cell_text %} {% block title %}{{ admin.plural_name }}{% endblock %} {% block content %} {% if inline_columns %}
{% endif %} {% if bulk_actions %}
{% endif %}
{% if can_add or inline_columns or bulk_actions or admin.imports_available() %}
{% if admin.imports_available() and (admin.permission_name('add') in perms or admin.permission_name('change') in perms) %} Import spreadsheet {% endif %} {% if can_add %} New {{ admin.name | lower }} {% endif %} {% if inline_columns %} {% endif %} {% if bulk_actions %}
0 of {{ rows | length }} selected {% if displayed_total is not none and displayed_total > rows | length %} Select all {{ displayed_total }} {{ admin.plural_name | lower }} Clear selection {% endif %}
{% endif %}
{% endif %} {% include "admin/model/query_toolbar.html" %} {% if inline_banner %} {% endif %}
{% if bulk_actions %} {% endif %} {% for column in columns %} {% endfor %} {% for row in rows %} {% for group in row.groups %} {% endfor %} {% if bulk_actions %} {% endif %} {% for cell in row.cells %} {% set column = columns[loop.index0] %} {% set edit = row.edits[loop.index0] %} {% if edit %} {% if edit.kind == 'select' %} {% else %} {% endif %} {% if edit.error %}
{{ edit.error }}
{% endif %} {% else %}
{% endif %} {% endfor %} {% else %} {% endfor %}
# Actions {% if column.type.sortable and not column.options.get('relationship_path') %} {{ column.label }} {% if sort_state(column.name) == 'asc' %}↑{% elif sort_state(column.name) == 'desc' %}↓{% endif %} {% else %}{{ column.label }}{% endif %}
{{ start_index + loop.index0 }}
{{ 'Edit' if row.can_change else 'View' }} {% if row.can_delete %}
{% endif %} {% if row.comments_url %} Comments {% if row.comments_count %}{{ row.comments_count }}{% endif %} {% endif %}
{% if column.name in list_display_links %} {{ cell_content(cell) }} {% else %}{{ cell_text(cell) }}{% endif %}
No {{ admin.plural_name | lower }} found.
{% include "admin/includes/pagination.html" %} {% endblock %}