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

Closes #9152: Annotate related object type under custom field view

This commit is contained in:
jeremystretch
2022-04-18 08:56:28 -04:00
parent 671e1aed9f
commit 41244dc677
2 changed files with 8 additions and 1 deletions

View File

@@ -21,7 +21,10 @@
</tr>
<tr>
<th scope="row">Type</th>
<td>{{ object.get_type_display }}</td>
<td>
{{ object.get_type_display }}
{% if object.object_type %}({{ object.object_type.model|bettertitle }}){% endif %}
</td>
</tr>
<tr>
<th scope="row">Description</th>