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 * [#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 * [#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> </td>
</tr> </tr>
<tr> <tr>
<td>Group</td> <td>Location</td>
<td> <td>
{% if rack.group %} {% if rack.location %}
<a href="{{ rack.group.get_absolute_url }}">{{ rack.group }}</a> <a href="{{ rack.location.get_absolute_url }}">{{ rack.location }}</a>
{% else %} {% else %}
<span class="text-muted">None</span> <span class="text-muted">None</span>
{% endif %} {% endif %}