{% load i18n static tz cc_admin %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}{% cc_setup %} {% if cc.title_prefix %}{{ cc.title_prefix }} {% endif %}{% block title %}{% endblock %} {% if cc.favicon %}{% endif %} try{var s=localStorage.getItem("cc-admin:side");if(s)document.documentElement.dataset.side=s;}catch(e){} {% if cc.fonts %}{% endif %} {% for href in cc.font_files %}{% endfor %} {% cc_tokens %} {% for href in cc.styles %}{% endfor %} {% block dark-mode-vars %}{% endblock %} {% block extrastyle %}{% endblock %} {% for src in cc.scripts %}{% endfor %} {% block extrahead %}{% endblock %} {% block responsive %}{% endblock %} {% block blockbots %}{% endblock %} {% translate 'Skip to main content' %}
{% if not is_popup %} {% block header %} {% block nav-sidebar %} {% if has_permission %}{% include "cc_admin/sidebar.html" %}{% endif %} {% endblock %} {% endblock %} {% endif %}
{% if not is_popup and has_permission %} {% endif %}
{% if cc.announcements %}{% include "cc_admin/announcements.html" %}{% endif %} {% block messages %} {% if messages %}
    {% for message in messages %}
  • {% if message.level == 40 %}{% icon "circle-exclamation-point" %}{% elif message.level == 30 %}{% icon "triangle-exclamation-point" %}{% elif message.level == 25 %}{% icon "circle-check" %}{% else %}{% icon "info" %}{% endif %}{{ message|capfirst }}
  • {% endfor %}
{% endif %} {% endblock messages %}
{% block cc_tabs %}{% cc_tabs as tabs %}{% if tabs %}{% include "cc_admin/tabs.html" %}{% endif %}{% endblock %}
{% block pretitle %}{% endblock %} {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} {% block content_subtitle %}{% if subtitle %}

{{ subtitle }}

{% endif %}{% endblock %}
{% block object-tools %}{% endblock %}
{% block content %} {{ content }} {% endblock %} {% block sidebar %}{% endblock %}
{% block footer %}{% if cc.footer %}{{ cc.footer }}{% endif %}{% endblock %}
{% if not is_popup and user.is_authenticated %}{% include "cc_admin/overlays.html" %}{% endif %} {% if cc.notify.enabled %}
{% endif %} {% block extrabody %}{% endblock extrabody %} {% cc_sprite %}