From 22e0135f6f5d1f8cd8fd9540b1c8c52ca0d1cce1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 Apr 2018 13:10:15 +0200 Subject: [PATCH] Remove dev.* prefix from menu This is not required since we mark it in the main handler Signed-off-by: Michael Tremer --- templates/base.html | 2 +- templates/modules/menu.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index f6692e46..622f9a0f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -42,7 +42,7 @@ IPFire Tux {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %} IPFire - {% elif hostname in ("planet.ipfire.org", "planet.dev.ipfire.org") %} + {% elif hostname == "planet.ipfire.org" %} IPFire Planet {% else %} {{ hostname }} diff --git a/templates/modules/menu.html b/templates/modules/menu.html index 51e44eb1..09ccb398 100644 --- a/templates/modules/menu.html +++ b/templates/modules/menu.html @@ -35,7 +35,7 @@ - {% elif hostname in ("downloads.ipfire.org", "download.ipfire.org", "downloads.dev.ipfire.org", "download.dev.ipfire.org") %} + {% elif hostname in ("downloads.ipfire.org", "download.ipfire.org") %} -- 2.39.2