mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #7925: Linkify contact phone and email attributes
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import django_tables2 as tables
|
||||
|
||||
from utilities.tables import (
|
||||
BaseTable, ButtonsColumn, ContentTypeColumn, LinkedCountColumn, MarkdownColumn, MPTTColumn, TagColumn, ToggleColumn,
|
||||
BaseTable, ButtonsColumn, ContentTypeColumn, LinkedCountColumn, linkify_phone, MarkdownColumn, MPTTColumn,
|
||||
TagColumn, ToggleColumn,
|
||||
)
|
||||
from .models import *
|
||||
|
||||
@@ -131,6 +132,9 @@ class ContactTable(BaseTable):
|
||||
group = tables.Column(
|
||||
linkify=True
|
||||
)
|
||||
phone = tables.Column(
|
||||
linkify=linkify_phone,
|
||||
)
|
||||
comments = MarkdownColumn()
|
||||
assignment_count = tables.Column(
|
||||
verbose_name='Assignments'
|
||||
|
Reference in New Issue
Block a user