Add signals and active management to strategy list

This commit is contained in:
Mark Veidemanis 2023-02-15 20:04:23 +00:00
parent 3854bdcc7d
commit c0f266da73
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 24 additions and 0 deletions

View File

@ -16,6 +16,8 @@
<th>name</th> <th>name</th>
<th>description</th> <th>description</th>
<th>account</th> <th>account</th>
<th>signal trading</th>
<th>active management</th>
<th>enabled</th> <th>enabled</th>
<th>actions</th> <th>actions</th>
</thead> </thead>
@ -26,6 +28,28 @@
<td>{{ item.name }}</td> <td>{{ item.name }}</td>
<td>{{ item.description|truncatechars:80 }}</td> <td>{{ item.description|truncatechars:80 }}</td>
<td>{{ item.account }}</td> <td>{{ item.account }}</td>
<td>
{% if item.signal_trading_enabled %}
<span class="icon">
<i class="fa-solid fa-check"></i>
</span>
{% else %}
<span class="icon">
<i class="fa-solid fa-xmark"></i>
</span>
{% endif %}
</td>
<td>
{% if item.active_management_enabled %}
<span class="icon">
<i class="fa-solid fa-check"></i>
</span>
{% else %}
<span class="icon">
<i class="fa-solid fa-xmark"></i>
</span>
{% endif %}
</td>
<td> <td>
{% if item.enabled %} {% if item.enabled %}
<span class="icon"> <span class="icon">