Improved colouring of list items so that Lost & Binned are actually visible to the human eye

This commit is contained in:
Matthew Smith
2019-10-31 19:35:41 +00:00
parent d7e5e61b49
commit 0a724e645f

View File

@@ -7,8 +7,8 @@
warning warning
{% elif item.status.name == 'In Service'%} {% elif item.status.name == 'In Service'%}
success success
{% elif item.status.name in 'Sold|Binned'%} {% elif item.status.name == 'Sold'%}
text-muted info
{% endif %} {% endif %}
"> ">
<td style="vertical-align: middle;"><a href="{% url 'asset_detail' item.pk %}">{{ item.asset_id }}</a></td> <td style="vertical-align: middle;"><a href="{% url 'asset_detail' item.pk %}">{{ item.asset_id }}</a></td>