{% extends "admin/base_site.html" %} {% load staticfiles admin_list i18n %} {% block extrastyle %} {{ block.super }} {% if not actions_on_top and not actions_on_bottom %} {% endif %} {% endblock %} {% block javascripts %} {% url "admin:jsi18n" as jsi18nurl %} {{ block.super }} {{ media }} {% if is_popup %} {% endif %} {% if action_form %} {% endif %} {% endblock %} {% block content %}
{% block object-tools %} {% if has_add_permission %} {% endif %} {% endblock %} {% if cl.formset.errors %}

{% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{% endif %}
{% csrf_token %} {% if is_popup %}{% endif %} {% if cl.formset %} {{ cl.formset.management_form }} {% endif %}
{% block result_list %} {% if action_form and actions_on_top and cl.full_result_count and cl.result_count %}{% admin_actions %}{% endif %} {% result_list cl %} {% if action_form and actions_on_bottom and cl.full_result_count and cl.result_count %}{% admin_actions %}{% endif %} {% endblock %} {% block pagination %}{% pagination cl %}{% endblock %}
{% if cl.formset and cl.result_count %}

{% endif %}
{% block filters %} {% if cl.has_filters or cl.search_fields or cl.date_hierarchy %}
{% ifnotequal cl.result_count cl.full_result_count %}

{% trans 'Results' %}

{% blocktrans with cl.result_count as counter %}{{ counter }} found{% endblocktrans %}

{% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %}
{% endifnotequal %} {% block search %}{% search_form cl %}{% endblock %} {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %} {% if cl.has_filters %}

{% trans 'Filter' %}

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