{% load i18n static daisy_theme %} {% block title %}{{ title }} | {% daisy_config "SITE_TITLE" "Django Administration" %}{% endblock %} {% if daisy_theme.FAVICON %} {% endif %} {% if daisy_theme.LOAD_DEFAULT_FONTS %} {% endif %} {% block extrastyle %}{% endblock %} {% block extrahead %}{% endblock %} {% if user.is_authenticated and user.is_staff %}
{% if not is_popup %} {% endif %}
{% if not is_popup %} {% include "admin/includes/navbar.html" %} {% block breadcrumbs %} {% include "admin/includes/breadcrumbs.html" %} {% endblock %} {% endif %} {% if messages %}
{% for message in messages %}
{% if message.tags == 'error' %} {% daisy_icon "alert-circle" "w-5 h-5 flex-shrink-0" %} {% elif message.tags == 'success' %} {% daisy_icon "check" "w-5 h-5 flex-shrink-0" %} {% else %} {% daisy_icon "help-circle" "w-5 h-5 flex-shrink-0" %} {% endif %} {{ message }}
{% endfor %}
{% endif %}
{% block content_header %} {% if title and not is_index %}

{{ title }}

{% block pretitle %}{% endblock %}
{% block object-tools %}{% endblock %}
{% endif %} {% endblock %} {% block content %} {% endblock %}
{% if not is_popup %}
{% endif %}
{% if not is_popup %}
{% include "admin/includes/sidebar.html" %}
{% endif %}
{% else %}
{% block standalone_content %} {% endblock %}
{% endif %} {% if daisy_theme.ENABLE_SELECT2 %} {% if 'fa' in LANGUAGE_CODE %} {% endif %} {% endif %}