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

Add bulk edit, delete views for journal entries

This commit is contained in:
Jeremy Stretch
2021-03-17 10:41:06 -04:00
parent 7f1d9aeaf8
commit 956e2728c2
5 changed files with 34 additions and 4 deletions

View File

@ -99,6 +99,7 @@ class ObjectChangeTable(BaseTable):
class JournalEntryTable(BaseTable):
pk = ToggleColumn()
created = tables.DateTimeColumn(
format=settings.SHORT_DATETIME_FORMAT
)
@ -117,7 +118,7 @@ class JournalEntryTable(BaseTable):
class Meta(BaseTable.Meta):
model = JournalEntry
fields = ('created', 'created_by', 'assigned_object_type', 'assigned_object', 'comments', 'actions')
fields = ('pk', 'created', 'created_by', 'assigned_object_type', 'assigned_object', 'comments', 'actions')
class ObjectJournalTable(BaseTable):