From 6cc4f27ee306b2779467bb360c538d409e960383 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 24 Jun 2021 08:51:29 -0400 Subject: [PATCH] Tables cleanup --- netbox/extras/tables.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/netbox/extras/tables.py b/netbox/extras/tables.py index 77304edc6..a3c103773 100644 --- a/netbox/extras/tables.py +++ b/netbox/extras/tables.py @@ -37,6 +37,7 @@ class CustomFieldTable(BaseTable): name = tables.Column( linkify=True ) + required = BooleanColumn() class Meta(BaseTable.Meta): model = CustomField @@ -55,6 +56,7 @@ class CustomLinkTable(BaseTable): name = tables.Column( linkify=True ) + content_type = ContentTypeColumn() new_window = BooleanColumn() class Meta(BaseTable.Meta): @@ -74,6 +76,7 @@ class ExportTemplateTable(BaseTable): name = tables.Column( linkify=True ) + content_type = ContentTypeColumn() as_attachment = BooleanColumn() class Meta(BaseTable.Meta): @@ -95,6 +98,10 @@ class WebhookTable(BaseTable): name = tables.Column( linkify=True ) + enabled = BooleanColumn() + type_create = BooleanColumn() + type_update = BooleanColumn() + type_delete = BooleanColumn() class Meta(BaseTable.Meta): model = Webhook