]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
Add mirrors and tracker link to download page
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Jun 2015 20:12:13 +0000 (22:12 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Jun 2015 20:13:20 +0000 (22:13 +0200)
templates/modules/menu.html

index b7e23a5fe5dd4da8e0bc0e22996922f4d6e43abb..65d49a209635413dfd135f20174135084cb9539a 100644 (file)
                <li>
                        <a href="/downloads">{{ _("Downloads") }}</a>
                </li>
+       {% elif hostname in ("downloads.ipfire.org", "download.ipfire.org", "downloads.dev.ipfire.org", "download.dev.ipfire.org") %}
+               <li>
+                       <a href="http://mirrors.ipfire.org">{{ _("Mirrors") }}</a>
+               </li>
+               <li>
+                       <a href="http://tracker.ipfire.org">{{ _("Tracker") }}</a>
+               </li>
        {% elif hostname == "fireinfo.ipfire.org" %}
                <li>
                        <a href="/device/vendors">{{ _("Device Vendors") }}</a>