]> git.ipfire.org Git - ipfire.org.git/commitdiff
dnsbl: Return to the DNSBL index when clicking the logo
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Dec 2025 14:40:55 +0000 (14:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Dec 2025 14:40:55 +0000 (14:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 060c3c70897fe662697febc5ad829ea417ac35bc..8163484210f5fe3b0c80e50955aa130ea6fc7512 100644 (file)
                                role="navigation" aria-label="main navigation">
                        <div class="container">
                                <div class="navbar-brand is-size-4">
-                                       {% if request.path.startswith("/location") %}
+                                       {% if request.path.startswith("/dnsbl") %}
+                                               <a class="navbar-item" href="/dnsbl">
+                                                       {% module IPFireLogo("DNSBL") %}
+                                               </a>
+                                       {% elif request.path.startswith("/location") %}
                                                <a class="navbar-item" href="/location">
                                                        {% module IPFireLogo("Location") %}
                                                </a>
                                        {% else %}
                                                <a class="navbar-item" href="/">
-                                                       {% if request.path.startswith("/dnsbl") %}
-                                                               {% module IPFireLogo("DNSBL") %}
-                                                       {% elif request.path.startswith("/fireinfo") %}
+                                                       {% if request.path.startswith("/fireinfo") %}
                                                                {% module IPFireLogo("Fireinfo") %}
                                                        {% elif hostname.startswith("nopaste.") %}
                                                                {% module IPFireLogo("NoPaste") %}