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

Modified RackGroup.__unicode__ to include site name

This commit is contained in:
Jeremy Stretch
2016-05-11 15:28:46 -04:00
parent a0ffd71755
commit 1fb2cc4b31
4 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@
<td>Group</td>
<td>
{% if rack.group %}
<a href="{% url 'dcim:rack_list' %}?site={{ rack.site.slug }}&group={{ rack.group.slug }}">{{ rack.group }}</a>
<a href="{% url 'dcim:rack_list' %}?site={{ rack.site.slug }}&group={{ rack.group.slug }}">{{ rack.group.name }}</a>
{% else %}
<span class="text-muted">None</span>
{% endif %}