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

Add missing tenant attribute

This commit is contained in:
Jeremy Stretch
2020-11-10 11:58:59 -05:00
parent f631f8c45b
commit 46b48ee55d

View File

@ -80,6 +80,19 @@
{{ aggregate.get_utilization }}%
</td>
</tr>
<tr>
<td>Tenant</td>
<td>
{% if aggregate.tenant %}
{% if prefix.aggregate.group %}
<a href="{{ aggregate.tenant.group.get_absolute_url }}">{{ aggregate.tenant.group }}</a> /
{% endif %}
<a href="{{ aggregate.tenant.get_absolute_url }}">{{ aggregate.tenant }}</a>
{% else %}
<span class="text-muted">None</span>
{% endif %}
</td>
</tr>
<tr>
<td>Date Added</td>
<td>{{ aggregate.date_added|placeholder }}</td>