mirror of https://github.com/snachodog/mybuddy.git
20 lines
643 B
HTML
20 lines
643 B
HTML
{% extends 'cards/base.html' %}
|
|
|
|
{% block header %}Active Timers{% endblock %}
|
|
|
|
{% block title %}
|
|
{% with instances|length as count %}
|
|
{{ count }} active timer{{ count|pluralize }}
|
|
{% endwith %}
|
|
{% endblock %}
|
|
|
|
{% block listgroup %}
|
|
<ul class="list-group list-group-flush">
|
|
{% for instance in instances %}
|
|
<a href="{% url 'core:timer-detail' instance.id %}"
|
|
class="list-group-item list-group-item-action">
|
|
<strong>{{ instance }}</strong> <p class="text-muted small m-0">Started by {{ instance.user }} at {{ instance.start|time }}</p>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %} |