diff --git a/netbox/core/views.py b/netbox/core/views.py index 88821de75..d58c55833 100644 --- a/netbox/core/views.py +++ b/netbox/core/views.py @@ -686,5 +686,4 @@ class PluginView(UserPassesTestMixin, View): return render(request, 'core/plugin.html', { 'plugin': plugin, 'table': table, - 'show_install': settings.RELEASE.edition == 'Community' }) diff --git a/netbox/templates/core/plugin.html b/netbox/templates/core/plugin.html index 42d912b81..733a0b093 100644 --- a/netbox/templates/core/plugin.html +++ b/netbox/templates/core/plugin.html @@ -35,7 +35,7 @@ {% trans "Version history" %} - {% if show_install %} + {% if 'commercial' not in settings.RELEASE.features %}