InterfaceIPAddressTable to use non-edit link

InterfaceIPAddressTable was using IPADDRESS_ASSIGN_LINK (edit URL with return_url), change to using view-only URL with IPADDRESS_LINK
This commit is contained in:
John W Kerns 2020-02-21 17:58:11 -08:00 committed by GitHub
parent 9128dc961c
commit 488179b6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,7 @@ class InterfaceIPAddressTable(BaseTable):
"""
List IP addresses assigned to a specific Interface.
"""
address = tables.TemplateColumn(IPADDRESS_ASSIGN_LINK, verbose_name='IP Address')
address = tables.TemplateColumn(IPADDRESS_LINK, verbose_name='IP Address')
vrf = tables.TemplateColumn(VRF_LINK, verbose_name='VRF')
status = tables.TemplateColumn(STATUS_LABEL)
tenant = tables.TemplateColumn(template_code=TENANT_LINK)