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

Clean up display of tenant groups

This commit is contained in:
jeremystretch
2022-03-22 15:29:05 -04:00
parent 8d682041a4
commit 7c14b8d97b
16 changed files with 58 additions and 104 deletions

View File

@@ -35,14 +35,10 @@
<tr>
<th scope="row">Tenant</th>
<td>
{% if object.tenant %}
{% if object.tenant.group %}
{{ object.tenant.group|linkify }} /
{% endif %}
{{ object.tenant|linkify }}
{% else %}
<span class="text-muted">None</span>
{% if object.tenant.group %}
{{ object.tenant.group|linkify }} /
{% endif %}
{{ object.tenant|linkify|placeholder }}
</td>
</tr>
<tr>