mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Closes #6275: Linkify rack, device counts on locations list
This commit is contained in:
parent
2618dde1e2
commit
19a2b9042f
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## v2.11.2 (FUTURE)
|
## v2.11.2 (FUTURE)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* [#6275](https://github.com/netbox-community/netbox/issues/6275) - Linkify rack, device counts on locations list
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
* [#6236](https://github.com/netbox-community/netbox/issues/6236) - Journal entry title should account for configured timezone
|
* [#6236](https://github.com/netbox-community/netbox/issues/6236) - Journal entry title should account for configured timezone
|
||||||
|
@ -102,10 +102,14 @@ class LocationTable(BaseTable):
|
|||||||
site = tables.Column(
|
site = tables.Column(
|
||||||
linkify=True
|
linkify=True
|
||||||
)
|
)
|
||||||
rack_count = tables.Column(
|
rack_count = LinkedCountColumn(
|
||||||
|
viewname='dcim:rack_list',
|
||||||
|
url_params={'location_id': 'pk'},
|
||||||
verbose_name='Racks'
|
verbose_name='Racks'
|
||||||
)
|
)
|
||||||
device_count = tables.Column(
|
device_count = LinkedCountColumn(
|
||||||
|
viewname='dcim:device_list',
|
||||||
|
url_params={'location_id': 'pk'},
|
||||||
verbose_name='Devices'
|
verbose_name='Devices'
|
||||||
)
|
)
|
||||||
actions = ButtonsColumn(
|
actions = ButtonsColumn(
|
||||||
|
Loading…
Reference in New Issue
Block a user