@ -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>