Color signals
This commit is contained in:
@@ -18,7 +18,10 @@
|
|||||||
<th>actions</th>
|
<th>actions</th>
|
||||||
</thead>
|
</thead>
|
||||||
{% for item in object_list %}
|
{% 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.id }}</td>
|
||||||
<td>{{ item.user }}</td>
|
<td>{{ item.user }}</td>
|
||||||
<td>{{ item.name }}</td>
|
<td>{{ item.name }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user