@@ -275,7 +275,11 @@ class EventRuleTable(NetBoxTable):
275275 linkify = True
276276 )
277277 action_type = tables .Column (
278- verbose_name = _ ('Action Type' ),
278+ verbose_name = _ ('Type' ),
279+ )
280+ action_object = tables .Column (
281+ linkify = True ,
282+ verbose_name = _ ('Object' ),
279283 )
280284 content_types = columns .ContentTypesColumn (
281285 verbose_name = _ ('Content Types' ),
@@ -305,12 +309,13 @@ class EventRuleTable(NetBoxTable):
305309 class Meta (NetBoxTable .Meta ):
306310 model = EventRule
307311 fields = (
308- 'pk' , 'id' , 'name' , 'enabled' , 'description' , 'action_type' , 'content_types' , 'type_create' , 'type_update' ,
309- 'type_delete' , 'type_job_start' , 'type_job_end' , 'tags' , 'created' , 'last_updated' ,
312+ 'pk' , 'id' , 'name' , 'enabled' , 'description' , 'action_type' , 'action_object' , 'content_types' ,
313+ 'type_create' , 'type_update' , 'type_delete' , 'type_job_start' , 'type_job_end' , 'tags' , 'created' ,
314+ 'last_updated' ,
310315 )
311316 default_columns = (
312- 'pk' , 'name' , 'enabled' , 'action_type' , 'content_types ' , 'type_create ' , 'type_update ' , 'type_delete ' ,
313- 'type_job_start' , 'type_job_end' ,
317+ 'pk' , 'name' , 'enabled' , 'action_type' , 'action_object ' , 'content_types ' , 'type_create ' , 'type_update ' ,
318+ 'type_delete' , ' type_job_start' , 'type_job_end' ,
314319 )
315320
316321
0 commit comments