mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-24 01:38:47 +02:00
Standardized display of attributes for primary objects
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<a href="{{ ipaddress.tenant.get_absolute_url }}">{{ ipaddress.tenant }}</a>
|
||||
{% elif ipaddress.vrf.tenant %}
|
||||
<a href="{{ ipaddress.vrf.tenant.get_absolute_url }}">{{ ipaddress.vrf.tenant }}</a>
|
||||
<label class="label label-warning">Inherited</label>
|
||||
<label class="label label-info">Inherited</label>
|
||||
{% else %}
|
||||
<span class="text-muted">None</span>
|
||||
{% endif %}
|
||||
@@ -79,10 +79,10 @@
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td>
|
||||
{% if ipaddress.description %}
|
||||
{% if ipaddress.description %}
|
||||
<span>{{ ipaddress.description }}</span>
|
||||
{% else %}
|
||||
<span class="text-muted">None</span>
|
||||
<span class="text-muted">N/A</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user