]> git.ipfire.org Git - ipfire.org.git/commitdiff
dbl: Don't show the Buy button
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Jan 2026 15:20:13 +0000 (15:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Jan 2026 15:20:13 +0000 (15:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index e30694e11cd7faf1e4557187fed7d713bbdd1722..8ccc19c95130b8f213cccfcf60c48f262f4e6089 100644 (file)
                                                                        <a class="navbar-item is-tab {% if request.path == "/support" %}is-active{% end %}" href="/support">{{ _("Support") }}</a>
                                                                {% end %}
 
-                                                               <div class="navbar-item">
-                                                                       <a class="button is-lwl has-text-weight-bold is-uppercase"
-                                                                                       href="https://store.lightningwirelabs.com/?utm_source={{ hostname }}&amp;utm_medium=navigation">
-                                                                               {{ _("Buy") }}
-                                                                       </a>
-                                                               </div>
+                                                               {# Buy #}
+                                                               {% if not request.path.startswith("/dbl") %}
+                                                                       <div class="navbar-item">
+                                                                               <a class="button is-lwl has-text-weight-bold is-uppercase"
+                                                                                               href="https://store.lightningwirelabs.com/?utm_source={{ hostname }}&amp;utm_medium=navigation">
+                                                                                       {{ _("Buy") }}
+                                                                               </a>
+                                                                       </div>
+                                                               {% end %}
 
+                                                               {# Donate #}
                                                                <div class="navbar-item">
                                                                        <a class="button is-primary has-text-weight-bold is-uppercase"
                                                                                        href="/donate">