add last activity to tracker

This commit is contained in:
Fabian Dill
2020-06-23 14:37:41 +02:00
parent 45a24fab27
commit cbe117a817
2 changed files with 11 additions and 3 deletions

View File

@@ -55,6 +55,7 @@
<th>{{ area }}</th>
{% endif %}
{% endfor %}
<th>Last Activity (UTC)</th>
</tr>
</thead>
<tbody>
@@ -72,6 +73,10 @@
<td style="text-align: center">{{ checks_done }}/{{ checks_total }}</td>
{% endif %}
{% endfor %}
{% if activity_timers[(team, player)] %}
<td class="table-info">{{ activity_timers[(team, player)].isoformat(sep=" ", timespec='minutes') }}</td>
{% else %}
<td class="table-warning">No activity</td>{% endif %}
</tr>
{% endfor %}
</tbody>