From: Michael Tremer Date: Wed, 25 Apr 2018 11:10:15 +0000 (+0200) Subject: Remove dev.* prefix from menu X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22e0135f6f;p=ipfire.org.git Remove dev.* prefix from menu This is not required since we mark it in the main handler Signed-off-by: Michael Tremer --- 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") %}