From 8903e4649c84936918a7a695070a056bc5966d2e Mon Sep 17 00:00:00 2001 From: bctiemann Date: Thu, 22 Aug 2024 10:57:53 -0400 Subject: [PATCH] Fixes: #17072 - Make active links of phone and email in Contact Assignments table (#17233) * Add linkify_email and apply with linkify_phone to ContactAssignmentTable * Use EmailColumn instead of linkify_email --- netbox/tenancy/tables/contacts.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/netbox/tenancy/tables/contacts.py b/netbox/tenancy/tables/contacts.py index 946058218..c4e35ab1b 100644 --- a/netbox/tenancy/tables/contacts.py +++ b/netbox/tenancy/tables/contacts.py @@ -113,11 +113,12 @@ class ContactAssignmentTable(NetBoxTable): ) contact_phone = tables.Column( accessor=Accessor('contact__phone'), - verbose_name=_('Contact Phone') + verbose_name=_('Contact Phone'), + linkify=linkify_phone, ) - contact_email = tables.Column( + contact_email = tables.EmailColumn( accessor=Accessor('contact__email'), - verbose_name=_('Contact Email') + verbose_name=_('Contact Email'), ) contact_address = tables.Column( accessor=Accessor('contact__address'),