mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00: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