{% extends "admin/base_site.html" %} {% load i18n static admin_list admin_urls elegant_list elegant_tags %} {% load url from elegant_compat %} {% block extrastyle %} {{ block.super }} {# #} {% if cl.formset %} {# #} {% endif %} {% if cl.formset or action_form %} {% url 'admin:jsi18n' as jsi18nurl %} {% endif %} {{ media.css }} {% if not actions_on_top and not actions_on_bottom %} {% endif %} {% endblock %} {% block extrahead %} {{ block.super }} {{ media.js }} {% if action_form %}{% if actions_on_top or actions_on_bottom %} {% endif %}{% endif %} {% endblock %} {% block bodyclass %}change-list{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block coltype %}flex{% endblock %} {% block content %}
{% block object-tools %}
{% block object-tools-items %} {% if has_add_permission %}   {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} {% endif %} {% endblock %}
{% endblock %} {% block search %}{% search_form cl %}{% endblock %}
{% block date_hierarchy %} {% if cl.date_hierarchy %} {% date_hierarchy cl %} {% endif %} {% endblock %} {% if cl.formset.errors %}
{% if cl.formset.total_error_count == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{{ cl.formset.non_form_errors }} {% endif %}
{% csrf_token %} {% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %} {% block result_list %} {% if cl.result_count %} {% if action_form and actions_on_top and cl.full_result_count %} {% admin_actions %}{% endif %} {% result_list_with_context cl %} {% if action_form and actions_on_bottom and cl.full_result_count %} {% admin_actions %}{% endif %} {% else %} {% elegant_bc_value 1.5 'pop' 1.6 '_popup' as POPUP_VAR %}
{% if cl.full_result_count %}

{% trans 'Nothing found' %}!


{% trans 'Reset search and filters' %} {% else %} {% blocktrans with cl.opts.verbose_name_plural|capfirst as name_plural %}{{ name_plural }} are not created yet{% endblocktrans %}. {% if has_add_permission %} {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}{% endif %} {% endif %}
{% endif %} {% endblock %} {% block pagination %} {% if cl.result_count %} {% if action_form and actions_on_bottom and cl.full_result_count %}
{% endif %} {% pagination cl %} {% if action_form and actions_on_bottom and cl.full_result_count %}
{% endif %} {% endif %} {% endblock %}
{% endblock %}