2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2017-09-25 16:13:37 +00:00
|
|
|
|
|
|
|
{% block header %}Active Timers{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% with instances|length as count %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{{ count }} active timer{{ count|pluralize }}
|
2017-09-25 16:13:37 +00:00
|
|
|
{% endwith %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block listgroup %}
|
|
|
|
<ul class="list-group list-group-flush">
|
|
|
|
{% for instance in instances %}
|
|
|
|
<a href="{% url '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 %}
|