1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6778: Rack reservation should display rack's location

This commit is contained in:
jeremystretch
2021-07-21 15:44:14 -04:00
parent 61fe0e81cd
commit c5e74635dd
2 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,7 @@
* [#5442](https://github.com/netbox-community/netbox/issues/5442) - Fix assignment of permissions based on LDAP groups
* [#6773](https://github.com/netbox-community/netbox/issues/6773) - Add missing `display` field to rack unit serializer
* [#6778](https://github.com/netbox-community/netbox/issues/6778) - Rack reservation should display rack's location
---

View File

@ -39,10 +39,10 @@
</td>
</tr>
<tr>
<td>Group</td>
<td>Location</td>
<td>
{% if rack.group %}
<a href="{{ rack.group.get_absolute_url }}">{{ rack.group }}</a>
{% if rack.location %}
<a href="{{ rack.location.get_absolute_url }}">{{ rack.location }}</a>
{% else %}
<span class="text-muted">None</span>
{% endif %}