1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Tables cleanup

This commit is contained in:
jeremystretch
2021-06-24 08:51:29 -04:00
parent 036a068b83
commit 6cc4f27ee3

View File

@ -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