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

@@ -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 %}