mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
review changes #13743
This commit is contained in:
Abhimanyu Saharan
committed by
Jeremy Stretch
parent
ac4b46b502
commit
d2c727c0a2
@ -87,8 +87,9 @@ class PowerFeedTable(TenancyColumnsMixin, CableTerminationTable):
|
||||
linkify=True,
|
||||
verbose_name=_('Tenant')
|
||||
)
|
||||
site = tables.TemplateColumn(
|
||||
template_code='''{% if record.rack %}{{ record.rack.site|linkify }}{% else %}—{% endif %}''',
|
||||
site = tables.Column(
|
||||
accessor='rack__site',
|
||||
linkify=True,
|
||||
verbose_name=_('Site'),
|
||||
)
|
||||
comments = columns.MarkdownColumn(
|
||||
|
Reference in New Issue
Block a user