From a5d1500307c76f10c444287dad2b315835aca006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20R=C3=B8dvand?= Date: Thu, 24 Jul 2025 22:04:41 +0200 Subject: [PATCH] Add conditional to hide internet dependent links in an isolated deployment --- netbox/templates/base/layout.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index 7fce92c5c..9eaacc01c 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 #}
  • @@ -200,6 +200,7 @@ Blocks: {# Community links #} {% else %} + {% if not settings.ISOLATED_DEPLOYMENT %} {# GitHub #}
  • @@ -212,6 +213,7 @@ Blocks:
  • + {% endif %} {% endif %} {% endblock footer_links %}