Add enabled field to aggregator

This commit is contained in:
2023-03-07 17:02:09 +00:00
parent 8112119b7e
commit 3699fff272
4 changed files with 34 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
<th>user</th>
<th>name</th>
<th>service</th>
<th>enabled</th>
<th>actions</th>
</thead>
{% for item in object_list %}
@@ -31,6 +32,17 @@
<td>{{ item.user }}</td>
<td>{{ item.name }}</td>
<td>{{ item.get_service_display }}</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>
<div class="buttons">
<button