mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Include action buttons on contact assignments table
This commit is contained in:
@ -160,8 +160,12 @@ class ContactAssignmentTable(BaseTable):
|
||||
role = tables.Column(
|
||||
linkify=True
|
||||
)
|
||||
actions = ButtonsColumn(
|
||||
model=ContactAssignment,
|
||||
buttons=('edit', 'delete')
|
||||
)
|
||||
|
||||
class Meta(BaseTable.Meta):
|
||||
model = ContactAssignment
|
||||
fields = ('pk', 'content_type', 'object', 'contact', 'role', 'priority')
|
||||
default_columns = ('pk', 'object', 'contact', 'role', 'priority')
|
||||
fields = ('pk', 'content_type', 'object', 'contact', 'role', 'priority', 'actions')
|
||||
default_columns = ('pk', 'content_type', 'object', 'contact', 'role', 'priority', 'actions')
|
||||
|
Reference in New Issue
Block a user