{% extends "admin/base.html" %} {% load i18n admin_urls static admin_list %} {% block content_title %} {% if cl.opts.verbose_name_plural %} {{ cl.opts.verbose_name_plural|capfirst }} {% else %} {{ cl.opts.verbose_name|capfirst }} {% endif %} {% endblock %} {% block extrastyle %} {{ block.super }} {{ media.css }} {% endblock %} {% block content %}
{% block search %} {% if cl.search_fields %} {% endif %} {% endblock %}
{% block object-tools %} {% if has_add_permission %} {% trans 'Add' %} {{ cl.opts.verbose_name }} {% endif %} {% endblock %}
{% csrf_token %} {% if cl.formset %}{{ cl.formset.management_form }}{% endif %} {% if action_form and cl.show_admin_actions %}
{% blocktrans with cl.result_count as count %}{{ count }} selected{% endblocktrans %}
{% endif %}
{% block result_list %} {% if cl.result_count %} {% result_list cl %} {% else %}

{% trans 'No results found' %}

{% endif %} {% endblock %}
{% if cl.formset and cl.result_count %}
{% endif %}
{% if cl.result_count %}
{% if cl.result_count == 1 %} 1 {{ cl.opts.verbose_name }} {% else %} {{ cl.result_count }} {{ cl.opts.verbose_name_plural }} {% endif %}
{% block pagination %} {% if cl.can_show_all or cl.multi_page %}
{% if cl.can_show_all %} {% trans 'Show all' %} {% endif %} {% if cl.multi_page %} {% endif %}
{% endif %} {% endblock %}
{% endif %}
{% if cl.has_filters %}

{% trans 'Filter' %}

{% for spec in cl.filter_specs %} {% admin_list_filter cl spec %} {% endfor %}
{% endif %}
{% endblock %} {% block extrajs %} {{ block.super }} {{ media.js }} {% endblock %}