From 954eadcdc5d8f331163051c584d106c2d547019d Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 30 Jul 2024 16:39:46 -0400 Subject: [PATCH] #15908: Introduce FeatureSet dataclass for tracking release features --- netbox/templates/core/plugin.html | 4 ++-- netbox/templates/inc/user_menu.html | 2 +- netbox/utilities/release.py | 14 +++++++++++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/netbox/templates/core/plugin.html b/netbox/templates/core/plugin.html index 94307dc14..b66d53061 100644 --- a/netbox/templates/core/plugin.html +++ b/netbox/templates/core/plugin.html @@ -32,7 +32,7 @@ {% trans "Overview" %} - {% if True or not plugin.is_local and 'commercial' not in settings.RELEASE.features %} + {% if not plugin.is_local and not settings.RELEASE.features.commercial %}