From a2b0da260877313621a2e0f06c552f0233204eab Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 5 Dec 2019 16:37:22 -0500 Subject: [PATCH] Fix changelog table action labels --- netbox/extras/tables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netbox/extras/tables.py b/netbox/extras/tables.py index a5545693e..dca84dfdc 100644 --- a/netbox/extras/tables.py +++ b/netbox/extras/tables.py @@ -38,11 +38,11 @@ OBJECTCHANGE_TIME = """ """ OBJECTCHANGE_ACTION = """ -{% if record.action == 1 %} +{% if record.action == 'create' %} Created -{% elif record.action == 2 %} +{% elif record.action == 'update' %} Updated -{% elif record.action == 3 %} +{% elif record.action == 'delete' %} Deleted {% endif %} """