Add enabled checkbox to account list

This commit is contained in:
Mark Veidemanis 2023-01-01 15:51:58 +00:00
parent b31a2d1464
commit b2361bda77
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<th>currency</th> <th>currency</th>
<th>API key</th> <th>API key</th>
<th>sandbox</th> <th>sandbox</th>
<th>enabled</th>
<th>actions</th> <th>actions</th>
</thead> </thead>
{% for item in object_list %} {% for item in object_list %}
@ -36,6 +37,17 @@
</span> </span>
{% endif %} {% endif %}
</td> </td>
<td>
{% if item.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>
<div class="buttons"> <div class="buttons">
<button <button