From 1c85f44bca94bb340461a3367a5bd4028b984047 Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Sun, 15 Oct 2023 15:04:51 +0000 Subject: [PATCH] base: fixed a bug where there is a space in the navbar --- src/templates/base.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/templates/base.html b/src/templates/base.html index b510c919..1e3d0027 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -28,15 +28,13 @@ {% if request.path.startswith("/projects/location") %} IPFire_Location + {% elif hostname.startswith("fireinfo.") %} + IPFire_Fireinfo + {% elif hostname.startswith("nopaste.") %} + IPFire_Nopaste {% else %} IPFire_ {% end %} - - {% if hostname.startswith("fireinfo.") %} - {{ _("Fireinfo") }} - {% elif hostname.startswith("nopaste.") %} - {{ _("Nopaste") }} - {% end %} -- 2.47.3