{% extends "admin/base.html" %} {% load i18n static onyx_admin %} {% block bodyclass %}{{ block.super }} onyx-font-{% onyx_font %}{% endblock %} {% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} {% if has_permission and is_nav_sidebar_enabled %}{% endif %}
{% if user.is_anonymous %} {% include "admin/color_theme_toggle.html" %} {% endif %} {% endblock %} {% block welcome-msg %} {% firstof user.get_short_name user.get_username %} {% endblock %} {% block userlinks %}{% include "onyx_admin/userlinks.html" %}{% endblock %} {% block nav-global %}{% endblock %} {% block responsive %} {{ block.super }} {% onyx_font as font %} {% if font == "inter" %}{% elif font == "geist" %}{% endif %} {% block onyx_extrastyle %}{% endblock %} {% endblock %}