mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #5310: Link to rack groups within rack list table
This commit is contained in:
@ -5,6 +5,7 @@
|
|||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
* [#5304](https://github.com/netbox-community/netbox/issues/5304) - Return server error messages as JSON when handling REST API requests
|
* [#5304](https://github.com/netbox-community/netbox/issues/5304) - Return server error messages as JSON when handling REST API requests
|
||||||
|
* [#5310](https://github.com/netbox-community/netbox/issues/5310) - Link to rack groups within rack list table
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
|
@ -262,12 +262,15 @@ class RackRoleTable(BaseTable):
|
|||||||
|
|
||||||
class RackTable(BaseTable):
|
class RackTable(BaseTable):
|
||||||
pk = ToggleColumn()
|
pk = ToggleColumn()
|
||||||
name = tables.LinkColumn(
|
name = tables.Column(
|
||||||
order_by=('_name',)
|
order_by=('_name',),
|
||||||
|
linkify=True
|
||||||
)
|
)
|
||||||
site = tables.LinkColumn(
|
group = tables.Column(
|
||||||
viewname='dcim:site',
|
linkify=True
|
||||||
args=[Accessor('site__slug')]
|
)
|
||||||
|
site = tables.Column(
|
||||||
|
linkify=True
|
||||||
)
|
)
|
||||||
tenant = tables.TemplateColumn(
|
tenant = tables.TemplateColumn(
|
||||||
template_code=COL_TENANT
|
template_code=COL_TENANT
|
||||||
|
Reference in New Issue
Block a user