]> git.ipfire.org Git - ipfire.org.git/commitdiff
base: fixed a bug where there is a space in the navbar
authorRico Hoppe <rico.hoppe@ipfire.org>
Sun, 15 Oct 2023 15:04:51 +0000 (15:04 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Sun, 15 Oct 2023 15:04:51 +0000 (15:04 +0000)
src/templates/base.html

index b510c919e72bcf5bc82e6c938854f2affe8effb1..1e3d00277636c844004a160b6fa0e3f49745c9b0 100644 (file)
                                                <strong>
                                                        {% if request.path.startswith("/projects/location") %}
                                                                IPFire<span class="has-text-primary">_</span>Location
+                                                       {% elif hostname.startswith("fireinfo.") %}
+                                                               IPFire<span class="has-text-primary">_</span>Fireinfo
+                                                       {% elif hostname.startswith("nopaste.") %}
+                                                               IPFire<span class="has-text-primary">_</span>Nopaste
                                                        {% else %}
                                                                IPFire<span class="has-text-primary">_</span>
                                                        {% end %}
-
-                                                       {% if hostname.startswith("fireinfo.") %}
-                                                               {{ _("Fireinfo") }}
-                                                       {% elif hostname.startswith("nopaste.") %}
-                                                               {{ _("Nopaste") }}
-                                                       {% end %}
                                                </strong>
                                        </a>