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:
parent
4f62f6eff2
commit
8abb12bb06
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
{% if object_list|length == 0 %}
|
||||
<li class="list-group-item">
|
||||
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 %}
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue