From 8abb12bb060acf860dd51a8023cb0ded9a2afce4 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 23 Jun 2024 16:58:11 +0200 Subject: [PATCH] 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. --- freedoi/resolver/templates/resolver/prefix_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freedoi/resolver/templates/resolver/prefix_list.html b/freedoi/resolver/templates/resolver/prefix_list.html index 3d97658..5bac9a4 100644 --- a/freedoi/resolver/templates/resolver/prefix_list.html +++ b/freedoi/resolver/templates/resolver/prefix_list.html @@ -8,7 +8,7 @@ {% if object_list|length == 0 %}
  • 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 %}