{# src/launchpad/templates/launchpad/generic/tree.html #} {% load i18n %} {% comment %} src/launchpad/templates/launchpad/generic/tree.html Generic recursive Launchpad tree renderer. This template is intentionally location-agnostic. It provides a basic renderer for validating and displaying a Launchpad tree before introducing a theme-specific sidebar, topbar, card grid, dropdown, footer, or mobile navigation renderer. Top-level usage: {% include "launchpad/generic/tree.html" with launchpad=navigation only %} Recursive rendering is handled internally by passing ``nodes`` and ``level``. {% endcomment %} {% if nodes %} {% elif launchpad and launchpad.exists %}
{% if launchpad.nodes %} {% include "launchpad/generic/tree.html" with nodes=launchpad.nodes level=0 only %} {% else %}

{% trans "No navigation items are available." %}

{% endif %}
{% endif %}