]> git.ipfire.org Git - ipfire.org.git/commitdiff
Remove dev.* prefix from menu
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Apr 2018 11:10:15 +0000 (13:10 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Apr 2018 11:10:15 +0000 (13:10 +0200)
This is not required since we mark it in the main handler

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
templates/base.html
templates/modules/menu.html

index f6692e46e3b1fa8c5256f9b3a6db94f1791c4db2..622f9a0fea4a710be53c8bec1c72617f3d193ae3 100644 (file)
@@ -42,7 +42,7 @@
                                                <img src="{{ static_url("img/ipfire-tux.png") }}" alt="IPFire Tux" height="40px" />
                                                {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %}
                                                        IP<strong>Fire</strong>
-                                               {% elif hostname in ("planet.ipfire.org", "planet.dev.ipfire.org") %}
+                                               {% elif hostname  == "planet.ipfire.org" %}
                                                        IP<strong>Fire</strong> Planet
                                                {% else %}
                                                        {{ hostname }}
index 51e44eb176a011bdbbad3599c990cffd6a18a092..09ccb3982149c6a24c4b6e2e87de0bc2c206bf19 100644 (file)
@@ -35,7 +35,7 @@
                <li class="nav-item">
                        <a class="nav-link" href="/downloads">{{ _("Downloads") }}</a>
                </li>
-       {% 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") %}
                <li class="nav-item">
                        <a class="nav-link" href="http://mirrors.ipfire.org">{{ _("Mirrors") }}</a>
                </li>