{% load i18n admin_urls %} {% load paper_paginator paper_styles %} {% block result_hidden_fields %} {% if result_hidden_fields %} {% for item in result_hidden_fields %}{{ item }}{% endfor %} {% endif %} {% endblock %} {% if results %} {% if cl.sortable_allowed %} {% endif %} {% if cl.has_actions %} {% else %} {% endif %} {% if cl.model_admin.changelist_tools %} {% endif %} {% if cl.sortable_allowed %} {% endif %} {% for header in result_headers %} {% block result_header %} {% endblock %} {% endfor %} {% if cl.model_admin.changelist_tools %} {% endif %} {% for result in results %} {% if result.form and result.form.non_field_errors %} {% endif %} {% if cl.sortable_allowed %} {% endif %} {% for item in result %} {{ item }} {% endfor %} {% if cl.model_admin.changelist_tools %} {% endif %} {% endfor %}
{% if header.sortable %}{% spaceless %} {% endspaceless %}{% else %} {{ header.text|capfirst }} {% endif %}
{{ result.form.non_field_errors }}
{% spaceless %} {% include cl.model_admin.changelist_tools_template %} {% endspaceless %}
{{ cl.result_count }} {% if cl.result_count == 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endif %} {% if cl.result_count != cl.full_result_count %} ({% if cl.show_full_result_count %}{% blocktrans with full_result_count=cl.full_result_count %}{{ full_result_count }} total{% endblocktrans %}{% else %}{{ _("Show all") }}{% endif %}) {% endif %}
{% if cl.pagination_required %}
{{ current_page.start_index }}-{{ current_page.end_index }} of {{ cl.result_count }} {% if cl.show_all_url %} ({{ _("Show all") }}) {% endif %}
{% block pagination %} {% paper_pagination cl %} {% endblock %}
{% endif %}
{% endif %}