From 34c851654955da033c5adfcca9e32421ea8aa818 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 31 Jul 2024 20:45:52 -0400 Subject: [PATCH] Use alternate footer links for commercial releases --- netbox/templates/base/layout.html | 43 ++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index c760c9163..2344510e4 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -171,18 +171,37 @@ Blocks: {% endif %} - {# GitHub #} -
  • - - - -
  • - {# NetDev Slack #} -
  • - - - -
  • + + {# Commercial links #} + {% if settings.RELEASE.features.commercial %} + {# LinkedIn #} +
  • + + + +
  • + {# Support #} +
  • + + + +
  • + + {# Community links #} + {% else %} + {# GitHub #} +
  • + + + +
  • + {# NetDev Slack #} +
  • + + + +
  • + {% endif %} {% endblock footer_links %} {# /Footer links #}