{% extends "default.html" %} {% block title %}{% trans 'Dashboard' %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block top_bar %} {% if request.user.is_authenticated %} {% include "dashboard/top_nav.html" %} {% if request.user.is_superuser %} {% if request.session.theme %} {% include "themes/theme_top.html" %} {% endif %} {% endif %} {% endif %} {% endblock %} {% block banner %}{% endblock %} {% block extra_body %} {{ block.super }} {# TODO: Inspect why {{ block.super }} duplicates the imported static files #} {% endblock %}