{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_list cc_admin %} {% block title %}{% if cl.formset and cl.formset.errors %}{% translate "Error:" %} {% endif %}{{ block.super }}{% endblock %} {% block extrastyle %} {{ block.super }} {% if cl.formset or action_form %}{% endif %} {% cc_media media.css %} {% endblock %} {% block extrahead %} {{ block.super }} {% cc_media media.js %} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% if cc_model_admin.list_fullwidth %} cc-fullwidth{% endif %}{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block coltype %}{% endblock %} {% block content_title %}

{{ cl.opts.verbose_name_plural|capfirst }}

{% if cc.pinned and not is_popup %}{% endif %}

{% blocktranslate count counter=cl.full_result_count %}{{ counter }} record{% plural %}{{ counter }} records{% endblocktranslate %}{% if cl.result_count != cl.full_result_count and cl.full_result_count != None %} ยท {% blocktranslate with count=cl.result_count %}{{ count }} match{% endblocktranslate %}{% endif %}

{% endblock %} {% block content_subtitle %}{% endblock %} {% block object-tools %}
{% block object-tools-items %} {% include "cc_admin/action_buttons.html" with actions=cc_list_actions %} {% if cc_export and not is_popup %}
{% endif %} {% change_list_object_tools %} {% endblock %}
{% endblock %} {% block content %}
{% if cc_model_admin.change_list_before_template %}{% include cc_model_admin.change_list_before_template %}{% endif %} {% if cl.formset and cl.formset.errors %}

{% blocktranslate count counter=cl.formset.total_error_count %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}

{{ cl.formset.non_form_errors }} {% endif %}
{% block search %}{% search_form cl %}{% endblock %}
{% if cl.has_filters %} {% cc_active_filters cl as active_filters %} {% endif %}
{% block date_hierarchy %}{% if cl.date_hierarchy %}{% date_hierarchy cl %}{% endif %}{% endblock %} {% if cl.has_filters %}{% cc_filter_chips cl as chips %}{% if chips %} {% endif %}{% endif %}
{% csrf_token %} {% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %} {% block result_list %} {% result_list cl %} {% if action_form and cl.show_admin_actions %}{% admin_actions %}{% endif %} {% endblock %} {% block pagination %} {% endblock %}
{% if cc_model_admin.change_list_after_template %}{% include cc_model_admin.change_list_after_template %}{% endif %} {% block filters %} {% if cl.has_filters %}
{% translate 'Filters' %}{% if cl.is_facets_optional %}{% if cl.add_facets %}{% translate "Hide counts" %}{% else %}{% translate "Show counts" %}{% endif %}{% endif %}
{% cc_filter_hidden cl %} {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %}
{% if cl.has_active_filters %}{% translate 'Reset' %}{% endif %}
{% endif %} {% endblock %}
{% endblock %}