mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Fix color display for cables
This commit is contained in:
parent
623de7d210
commit
7ffb5f16dd
@ -56,7 +56,11 @@
|
||||
<tr>
|
||||
<td>Color</td>
|
||||
<td>
|
||||
<span class="label color-block" style="background-color: #{{ cable.color }}"> </span>
|
||||
{% if cable.color %}
|
||||
<span class="label color-block" style="background-color: #{{ cable.color }}"> </span>
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user