Use CRUD helper for position list

This commit is contained in:
2022-12-08 07:20:07 +00:00
parent aa8ee887d3
commit d396abca84
3 changed files with 85 additions and 70 deletions

View File

@@ -17,7 +17,7 @@
<th>trades</th>
<th>actions</th>
</thead>
{% for item in items %}
{% for item in object_list %}
<tr class="
{% if item.unrealized_pl > 0 %}has-background-success-light
{% elif item.unrealized_pl < 0 %}has-background-danger-light