mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-28 19:57:49 +02:00
Fix color display for cables
This commit is contained in:
@@ -56,7 +56,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Color</td>
|
<td>Color</td>
|
||||||
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user