mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Tables cleanup
This commit is contained in:
parent
036a068b83
commit
6cc4f27ee3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user