#4867: Misc cleanup

This commit is contained in:
Jeremy Stretch
2024-11-25 09:56:02 -05:00
parent 14d769a501
commit 0946a536f3
4 changed files with 16 additions and 9 deletions

View File

@@ -124,8 +124,8 @@
<tr>
<th scope="row">{% trans "MAC Address" %}</th>
<td>
{% if object.mac_address %}
<span class="font-monospace">{{ object.mac_address }}</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 }}