{% extends 'admin/base_site.html' %} {% load i18n admin_urls static admin_list pinmok_admin_tags pinmok_tags %} {% block title %}{% if cl.formset and cl.formset.errors %}{% translate "Error:" %} {% endif %}{{ block.super }}{% endblock %} {% block extrastyle %} {{ block.super }} {{ media.css }} {% 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 page_header %}
{{ opts.model_name }}

{{ title }}

{# [change_list_object_tolls.html] Right-aligned object tools area (e.g., 'Add' button) #} {% block object-tools %}
{% block object-tools-items %} {% change_list_object_tools %} {% endblock %}
{% endblock %}
{% endblock %} {% endif %} {% block coltype %}{% endblock %} {% block content %}
{% icon 'tabler-table' 'icon icon-tabler icons-tabler-outline icon-tabler-filters' %}
{# [date_hierarchy.html] Date hierarchy navigation for drilling down by year, month, and day. #} {% block date_hierarchy %}{% if cl.date_hierarchy %}{% date_hierarchy cl %}{% endif %}{% endblock %}
{# [search_form.html] Search form for filtering the changelist by keyword #} {% block search %} {% search_form cl %} {% endblock %}
{% if cl.formset and cl.formset.errors %} {% endif %}
{% csrf_token %} {# Hidden inputs of formset#} {% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %} {% block result_list %} {# [actions.html] Display action buttons above the result list if enabled #} {% if action_form and actions_on_top and cl.show_admin_actions or cl.has_filters %}
{% if action_form and actions_on_top and cl.show_admin_actions %}{% admin_actions %}{% endif %} {% if cl.has_filters %} {% translate 'Filter' %} {% endif %}
{% endif %} {# [change_list_results.html] Render the main result list table. #} {% result_list cl %} {# [actions.html] Display action buttons below the result list if enabled #} {% if action_form and actions_on_bottom and cl.show_admin_actions %}
{% admin_actions %}
{% endif %} {% endblock %} {% if pagination_required or cl.formset and cl.result_count %} {% endif %}
{% block filters %} {# Offcanvas sidebar for filter panel #} {% if cl.has_filters %}

{% translate 'Filter' %}

{% if cl.is_facets_optional or cl.has_active_filters %} {% endif %} {# [filter.html] Render each filter specification as a filter widget #} {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %}
{% endif %} {% endblock %} {% endblock %}