Преглед изворни кода

Merge pull request #5928 from wobcom/feature/ip-actions-in-interface-view

Add IP action buttons to interface view
Jeremy Stretch пре 5 година
родитељ
комит
cae784ff52
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      netbox/ipam/tables.py

+ 3 - 0
netbox/ipam/tables.py

@@ -433,6 +433,9 @@ class InterfaceIPAddressTable(BaseTable):
     tenant = tables.TemplateColumn(
     tenant = tables.TemplateColumn(
         template_code=TENANT_LINK
         template_code=TENANT_LINK
     )
     )
+    actions = ButtonsColumn(
+        model=IPAddress
+    )
 
 
     class Meta(BaseTable.Meta):
     class Meta(BaseTable.Meta):
         model = IPAddress
         model = IPAddress