{% extends "admin/base.html" %} {% load i18n admin_urls static admin_list %} {% load dash_tags %} {% block extrastyle %} {# #} {# #} {{ block.super }} {% if cl.formset or action_form %} {% endif %} {{ media.css }} {% if not actions_on_top and not actions_on_bottom %} {% endif %} {% endblock %} {% block extrahead %} {{ block.super }} {{ media.js }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %} {% get_active_filters_count cl as active_filters_count %} {% if cl.formset and cl.formset.errors %} {% endif %}
{% csrf_token %}
{% block search %}{% search_form cl %}{% endblock %} {% if action_form and actions_on_top and cl.show_admin_actions %} {% admin_actions %} {% endif %}
{% block object-tools %} {% if cl.list_editable %} {% endif %} {% block object-tools-items %} {% change_list_object_tools %} {% endblock %} {% endblock %}
{% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %} {% block result_list %}
{% result_list cl %}
{% endblock %}
{% block pagination %}{% pagination cl %}{% endblock %}
{% if cl.has_filters %}

{% translate 'Filter' %}

{% if cl.is_facets_optional or active_filters_count %}
{% if cl.is_facets_optional %}
{% if cl.add_facets %} {% else %} {% endif %}
{% endif %} {% if active_filters_count %}

{% translate "Clear all filters" %}

{% endif %}
{% endif %} {% for spec in cl.filter_specs %} {% admin_list_filter cl spec %} {% endfor %}
{% endif %}
{% endblock %} {% block scripts %} {{ block.super }} {% endblock %}