From 749c1a160034233c16f5be479ac8d64b89365891 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 10 Mar 2025 10:03:12 -0400 Subject: [PATCH] Use placeholders for false values to increase legibility of the plugins table --- netbox/core/tables/plugins.py | 2 ++ netbox/core/tables/template_code.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/netbox/core/tables/plugins.py b/netbox/core/tables/plugins.py index 43f46a4a6..a7773b4de 100644 --- a/netbox/core/tables/plugins.py +++ b/netbox/core/tables/plugins.py @@ -49,6 +49,7 @@ class CatalogPluginTable(BaseTable): verbose_name=_('Author') ) is_local = columns.BooleanColumn( + false_mark=None, verbose_name=_('Local') ) is_installed = columns.TemplateColumn( @@ -56,6 +57,7 @@ class CatalogPluginTable(BaseTable): template_code=PLUGIN_IS_INSTALLED ) is_certified = columns.BooleanColumn( + false_mark=None, verbose_name=_('Certified') ) created_at = columns.DateTimeColumn( diff --git a/netbox/core/tables/template_code.py b/netbox/core/tables/template_code.py index e53714994..9fc652c4c 100644 --- a/netbox/core/tables/template_code.py +++ b/netbox/core/tables/template_code.py @@ -23,6 +23,6 @@ PLUGIN_IS_INSTALLED = """ {% endif %} {% else %} - + {% endif %} """