Use mac_address_display in interface detail page

This commit is contained in:
Brian Tiemann
2026-01-22 22:08:30 -05:00
parent 60e37e868b
commit 9b1f033c73

View File

@@ -143,11 +143,9 @@
<tr>
<th scope="row">{% trans "MAC Address" %}</th>
<td>
<span class="font-monospace">{{ object.mac_address_display|linkify }}</span>
{% if object.primary_mac_address %}
<span class="font-monospace">{{ object.primary_mac_address|linkify }}</span>
<span class="badge text-bg-primary">{% trans "Primary" %}</span>
{% else %}
{{ ''|placeholder }}
{% endif %}
</td>
</tr>