{% extends "admin/base_site.html" %} {% load i18n %} {% block extrahead %}{{block.super}} {% endblock %} {% block nav-global %} {% getMenu as menu %} Toggle navigation {% block branding %}{{ block.super }}{% endblock %} {% for group in menu %} {{ group.0 }} {% for item in group.1 %} {% if item.1.separator %} {% else %}{{ item.0 }} {% endif %} {% endfor %} {% endfor %} {% comment %}Translators: Translation included with Django{% endcomment %} {% if user.is_authenticated and user.is_staff %} {% comment %}Translators: Translation included with Django{% endcomment %} {% trans 'user'|capfirst %} {% firstof user.first_name user.username %} {% trans 'preferences'|capfirst %} {% comment %}Translators: Translation included with Django{% endcomment %} {% trans 'log out'|capfirst %} {% endif %} {% trans 'cockpit'|capfirst %} {% crumbs %} {% if user.scenarios|length > 1 %} {{ request.database }} {% for db in user.scenarios %}{{ db }}{% endfor %} {% endif %} {% endblock %}