|
@@ -58,6 +58,9 @@ class ProviderTable(BaseTable):
|
|
|
verbose_name='Circuits'
|
|
verbose_name='Circuits'
|
|
|
)
|
|
)
|
|
|
comments = MarkdownColumn()
|
|
comments = MarkdownColumn()
|
|
|
|
|
+ contacts = tables.ManyToManyColumn(
|
|
|
|
|
+ linkify_item=True
|
|
|
|
|
+ )
|
|
|
tags = TagColumn(
|
|
tags = TagColumn(
|
|
|
url_name='circuits:provider_list'
|
|
url_name='circuits:provider_list'
|
|
|
)
|
|
)
|
|
@@ -66,7 +69,7 @@ class ProviderTable(BaseTable):
|
|
|
model = Provider
|
|
model = Provider
|
|
|
fields = (
|
|
fields = (
|
|
|
'pk', 'id', 'name', 'asn', 'account', 'portal_url', 'noc_contact', 'admin_contact', 'circuit_count',
|
|
'pk', 'id', 'name', 'asn', 'account', 'portal_url', 'noc_contact', 'admin_contact', 'circuit_count',
|
|
|
- 'comments', 'tags', 'created', 'last_updated',
|
|
|
|
|
|
|
+ 'comments', 'contacts', 'tags', 'created', 'last_updated',
|
|
|
)
|
|
)
|
|
|
default_columns = ('pk', 'name', 'asn', 'account', 'circuit_count')
|
|
default_columns = ('pk', 'name', 'asn', 'account', 'circuit_count')
|
|
|
|
|
|
|
@@ -142,6 +145,9 @@ class CircuitTable(BaseTable):
|
|
|
)
|
|
)
|
|
|
commit_rate = CommitRateColumn()
|
|
commit_rate = CommitRateColumn()
|
|
|
comments = MarkdownColumn()
|
|
comments = MarkdownColumn()
|
|
|
|
|
+ contacts = tables.ManyToManyColumn(
|
|
|
|
|
+ linkify_item=True
|
|
|
|
|
+ )
|
|
|
tags = TagColumn(
|
|
tags = TagColumn(
|
|
|
url_name='circuits:circuit_list'
|
|
url_name='circuits:circuit_list'
|
|
|
)
|
|
)
|
|
@@ -150,7 +156,7 @@ class CircuitTable(BaseTable):
|
|
|
model = Circuit
|
|
model = Circuit
|
|
|
fields = (
|
|
fields = (
|
|
|
'pk', 'id', 'cid', 'provider', 'type', 'status', 'tenant', 'termination_a', 'termination_z', 'install_date',
|
|
'pk', 'id', 'cid', 'provider', 'type', 'status', 'tenant', 'termination_a', 'termination_z', 'install_date',
|
|
|
- 'commit_rate', 'description', 'comments', 'tags', 'created', 'last_updated',
|
|
|
|
|
|
|
+ 'commit_rate', 'description', 'comments', 'contacts', 'tags', 'created', 'last_updated',
|
|
|
)
|
|
)
|
|
|
default_columns = (
|
|
default_columns = (
|
|
|
'pk', 'cid', 'provider', 'type', 'status', 'tenant', 'termination_a', 'termination_z', 'description',
|
|
'pk', 'cid', 'provider', 'type', 'status', 'tenant', 'termination_a', 'termination_z', 'description',
|