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

General cleanup of tables

This commit is contained in:
Jeremy Stretch
2020-09-25 14:18:29 -04:00
parent 28f0da0bc1
commit 12e2537222
7 changed files with 27 additions and 106 deletions

View File

@@ -152,3 +152,6 @@ class ObjectChange(models.Model):
self.object_repr,
self.object_data,
)
def get_action_class(self):
return ObjectChangeActionChoices.CSS_CLASSES.get(self.action)