|
|
@@ -107,9 +107,13 @@ class RIRTable(BaseTable):
|
|
|
class ASNTable(BaseTable):
|
|
|
pk = ToggleColumn()
|
|
|
asn = tables.Column(
|
|
|
- accessor=tables.A('asn_asdot'),
|
|
|
linkify=True
|
|
|
)
|
|
|
+ asn_asdot = tables.Column(
|
|
|
+ accessor=tables.A('asn_asdot'),
|
|
|
+ linkify=True,
|
|
|
+ verbose_name='ASDOT'
|
|
|
+ )
|
|
|
|
|
|
site_count = LinkedCountColumn(
|
|
|
viewname='dcim:site_list',
|
|
|
@@ -120,7 +124,7 @@ class ASNTable(BaseTable):
|
|
|
|
|
|
class Meta(BaseTable.Meta):
|
|
|
model = ASN
|
|
|
- fields = ('pk', 'asn', 'rir', 'site_count', 'tenant', 'description', 'actions', 'created', 'last_updated',)
|
|
|
+ fields = ('pk', 'asn', 'asn_asdot', 'rir', 'site_count', 'tenant', 'description', 'actions', 'created', 'last_updated',)
|
|
|
default_columns = ('pk', 'asn', 'rir', 'site_count', 'sites', 'tenant', 'actions')
|
|
|
|
|
|
|