Closes #8601: Include group when displaying tenant assigned to cluster

This commit is contained in:
jeremystretch 2022-03-30 15:04:13 -04:00
parent 1eaf55c555
commit 2d09a40663

View File

@ -33,6 +33,9 @@
<th scope="row">Tenant</th>
<td>
{% if object.tenant %}
{% if object.tenant.group %}
<a href="{{ object.tenant.group.get_absolute_url }}">{{ object.tenant.group }}</a> /
{% endif %}
<a href="{{ object.tenant.get_absolute_url }}">{{ object.tenant }}</a>
{% else %}
<span class="text-muted">None</span>