{% extends "admin/base_site.html" %} {% load i18n %} {% block title %}{{ title }} | {{ site_title|default:"Django site admin" }}{% endblock %} {% block extrastyle %}{{ block.super }} {% include "karni_admin/includes/page_styles.html" %} {% endblock %} {% block content %}
{% blocktranslate with source=source|default:"unset" trimmed %} KARNI_NAVIGATION is {{ source }}: the preview shows the menu of the active source, not these rows. {% endblocktranslate %}
{% endif %} {% if entries is not None %}{% if visitor %}{% translate "A visitor who is not signed in sees:" %}{% else %}{% blocktranslate with user=subject trimmed %}{{ user }} sees:{% endblocktranslate %}{% endif %}
{% if entries %} {% else %}{% translate "No entry: every entry of the menu needs a grant this user does not hold." %}
{% endif %} {% elif not query %}{% translate "Pick a user to see the menu GET /api/navigation/ gives them, and what each entry requires." %}
{% endif %}