Fixes: #18744 Add Contact link as hyperlink (#18847)

* contact link as hyperlink

* fix(lint) add missing blank lines

* simplify by using lambda function
This commit is contained in:
Antoine Keranflec'h 2025-03-10 18:49:24 +01:00 committed by GitHub
parent 1a60cb9884
commit a9fd191086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,8 @@ class ContactAssignmentTable(NetBoxTable):
)
contact_link = tables.Column(
accessor=Accessor('contact__link'),
verbose_name=_('Contact Link')
verbose_name=_('Contact Link'),
linkify=lambda value: value,
)
contact_description = tables.Column(
accessor=Accessor('contact__description'),