From: Rico Hoppe Date: Sun, 3 Mar 2024 11:23:16 +0000 (+0000) Subject: base: updated to new fireinfo nav path X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7164528065efc28374f503bd6baaceffe441c75;p=ipfire.org.git base: updated to new fireinfo nav path Signed-off-by: Rico Hoppe --- diff --git a/src/templates/base.html b/src/templates/base.html index dd1ad8a6..09061b4d 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -28,7 +28,7 @@ {% if request.path.startswith("/location") %} {% module IPFireLogo("Location") %} - {% elif hostname.startswith("fireinfo.") %} + {% elif request.path.startswith("/fireinfo") %} {% module IPFireLogo("Fireinfo") %} {% elif hostname.startswith("nopaste.") %} {% module IPFireLogo("NoPaste") %} @@ -90,16 +90,16 @@ {% end %} {# Location #} - {% if request.path.startswith("/projects/location") %} + {% if request.path.startswith("/location") %} + {% if request.path == "/location/how-to-use" %}is-active{% end %}" + href="/location/how-to-use"> {{ _("How To Use") }} + {% if request.path.startswith("/location/download") %}is-active{% end %}" + href="/location/download"> {{ _("Download") }} @@ -156,7 +156,7 @@ {% end %} - {% elif hostname.startswith("fireinfo.") %} + {% elif request.path.startswith("/fireinfo") %}