{% extends "djadmin/admin_base.html" %} {% load djadmin_tags %} {% block title %}{{ opts.verbose_name_plural|capfirst }} - {{ site_title|default:"Django Admin" }}{% endblock %} {% block content %}
{# Header with model info #}

{{ opts.app_label|title }} - {{ opts.verbose_name_plural|capfirst }}

{# Info Bar with General Actions #}

{% if page_obj %} Showing {{ page_obj.start_index }}-{{ page_obj.end_index }} of {{ paginator.count }} {% else %} {{ object_list.count }} total {% endif %}

{% for general_action in general_actions %} {# Skip the current action (ListView) since we're already on this view #} {% if general_action.url_name != action.url_name %}
  • {% if general_action.icon %} {% include "djadmin/includes/_icon.html" with icon=general_action.icon %} {% endif %} {{ general_action.label }}
  • {% endif %} {% endfor %}
    {# Bulk Actions Bar #} {% if bulk_actions %}
    {% csrf_token %}
  • 0 selected
  • {% endif %} {# Table #} {% if bulk_actions %} {% endif %} {% for column in list_display %} {% endfor %} {% if record_actions %} {% endif %} {% for obj in object_list %} {% if bulk_actions %} {% endif %} {% for column in list_display %} {% endfor %} {% if record_actions %} {% endif %} {% empty %} {% endfor %}
    {% get_column_label column model model_admin %} {% render_column_header_icons column %} Actions
    {% get_column_value obj column model_admin %} {% for action in record_actions %}
  • {% if action.icon %} {% include "djadmin/includes/_icon.html" with icon=action.icon %} {% endif %} {{ action.label }}
  • {% endfor %}

    No {{ opts.verbose_name_plural }} found.

    {% if general_actions %}

    {% for general_action in general_actions %} {# Skip the current action (ListView) since we're already on this view #} {% if general_action.url_name != action.url_name %} {% if general_action.icon %} {% include "djadmin/includes/_icon.html" with icon=general_action.icon %} {% endif %} {{ general_action.label }} {% endif %} {% endfor %}

    {% endif %}
    {# Pagination #} {% if page_obj and paginator.num_pages > 1 %} {% endif %}
    {% endblock %} {% block extra_js %} {{ block.super }} {% if bulk_actions %} {% endif %} {% endblock %}