fix(template): correct syntax for superuser conditional

Fixed a missing space in the template's superuser conditional check. This resolves an issue where the message about contacting the administrator wasn't displayed correctly to non-superusers. This change ensures proper logic execution and clearer user instructions.
This commit is contained in:
Kumi 2024-06-23 16:58:11 +02:00
parent 4f62f6eff2
commit 8abb12bb06
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -8,7 +8,7 @@
{% if object_list|length == 0 %} {% if object_list|length == 0 %}
<li class="list-group-item"> <li class="list-group-item">
No prefixes. No prefixes.
{% if not user.is_superuser}You can request prefixes by contacting the administrator. {% if not user.is_superuser %}You can request prefixes by contacting the administrator.
{% endif %} {% endif %}
{% endif %} {% endif %}
</li> </li>