From 111fefdf9c5fd64d75da47547fce2c2c3c26f705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20R=C3=B8dvand?= Date: Tue, 29 Jul 2025 17:41:32 +0200 Subject: [PATCH] Fix #19910: Add conditional to hide internet dependent links in an isolated deployment (#19951) * Add conditional to hide internet dependent links in an isolated deployment * Formatting * Adjust conditional * Formatting --- netbox/templates/base/layout.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index 7fce92c5c..c31896256 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -55,7 +55,7 @@ Blocks: {# Release info #}
{{ settings.RELEASE.name }} - {% if not settings.RELEASE.features.commercial %} + {% if not settings.RELEASE.features.commercial and not settings.ISOLATED_DEPLOYMENT %}
{% trans "Get" %} Cloud | {% trans "Get" %} Enterprise @@ -184,7 +184,7 @@ Blocks: {% endif %} {# Commercial links #} - {% if settings.RELEASE.features.commercial %} + {% if settings.RELEASE.features.commercial and not settings.ISOLATED_DEPLOYMENT %} {# LinkedIn #}
  • @@ -199,7 +199,7 @@ Blocks:
  • {# Community links #} - {% else %} + {% elif not settings.ISOLATED_DEPLOYMENT %} {# GitHub #}