2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load i18n %}
|
2017-09-25 16:13:37 +00:00
|
|
|
|
2019-04-14 15:40:08 +00:00
|
|
|
{% block header %}{% trans "Active Timers" %}{% endblock %}
|
2017-09-25 16:13:37 +00:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% with instances|length as count %}
|
2020-01-24 04:00:32 +00:00
|
|
|
{% blocktrans trimmed with plural=count|pluralize %}
|
|
|
|
{{ count }} active timer{{ plural }}
|
|
|
|
{% endblocktrans %}
|
2017-09-25 16:13:37 +00:00
|
|
|
{% endwith %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block listgroup %}
|
|
|
|
<ul class="list-group list-group-flush">
|
|
|
|
{% for instance in instances %}
|
2017-12-03 21:52:27 +00:00
|
|
|
<a href="{% url 'core:timer-detail' instance.id %}"
|
|
|
|
class="list-group-item list-group-item-action">
|
2020-01-28 21:56:28 +00:00
|
|
|
<strong>{{ instance.title_with_child }}</strong>
|
2019-04-14 15:40:08 +00:00
|
|
|
<p class="text-muted small m-0">
|
2020-01-24 04:00:32 +00:00
|
|
|
{% blocktrans trimmed with start=instance.start|time user=instance.user %}
|
|
|
|
Started by {{ user }} at {{ start }}
|
|
|
|
{% endblocktrans %}
|
2019-04-14 15:40:08 +00:00
|
|
|
</p>
|
2017-09-25 16:13:37 +00:00
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|