{% load i18n %} {% comment %} The statusbar tenant badge. Rendered only when the user has something to do with it (`should_show` is True) — i.e. switch between two or more tenants, or pick a tenant when none is bound. For a regular user with exactly one tenant the badge is suppressed entirely; their tenant is implied. {% endcomment %} {% if should_show %} {% if tenant %}
{% else %}
{% endif %} {% endif %}