{% extends "admin/base.html" %} {% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% load static %} {% block extrahead %} {{ block.super }} {% if user.is_authenticated %} {% endif %} {% endblock %} {% block branding %}

{{ site_header|default:_('Django administration') }}

{# Service navigation — driven entirely by the STAPEL_SERVICES / NAV_LINKS #} {# registries (admin-suite AS-4). No hardcoded service list, dashboard map, #} {# or Tools/Monitoring links live here anymore. #} {% if user.is_authenticated and stapel_services %}
{% if current_swagger_url %} Swagger {% endif %} {% if current_dashboard_url %} Dashboard {% endif %} {% if stapel_modules %}
Installed Apps
{% for module in stapel_modules %}
{{ module.name }} Admin {% if module.swagger_url %}Swagger{% endif %} {% if module.schema_url %}Schema{% endif %}
{% endfor %}
{% endif %}
{% if stapel_services_multi %}
All Services
{% for service in stapel_services %}
{{ service.name }} Admin {% if service.swagger_url %}API{% endif %}
{% endfor %}
{% endif %} {% for section, links in stapel_nav_sections.items %}
{{ section|capfirst }}
{% for link in links %}
{{ link.title }} Open
{% endfor %}
{% endfor %}
{% endif %} {% endblock %}