Color signals

Mark Veidemanis 1 year ago
parent 6a549f3fd7
commit 62c37a7a45
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -18,7 +18,10 @@
<th>actions</th>
</thead>
{% for item in object_list %}
<tr>
<tr class="
{% if item.direction == 'buy' %}has-background-success-light
{% elif item.direction == 'sell' %}has-background-danger-light
{% endif %}">
<td>{{ item.id }}</td>
<td>{{ item.user }}</td>
<td>{{ item.name }}</td>

Loading…
Cancel
Save