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
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
{% block header %}
|
|
|
|
<a href="{% url "core:timer-list" %}">
|
2022-08-14 20:55:57 +00:00
|
|
|
{% trans "Timers" %}
|
2021-08-04 20:36:00 +00:00
|
|
|
</a>
|
|
|
|
{% endblock %}
|
2017-09-25 16:13:37 +00:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% with instances|length as count %}
|
2022-06-05 13:34:52 +00:00
|
|
|
{% blocktrans trimmed count counter=count %}
|
2022-08-14 20:55:57 +00:00
|
|
|
{{ count }} timer
|
2022-06-05 13:34:52 +00:00
|
|
|
{% plural %}
|
2022-08-14 20:55:57 +00:00
|
|
|
{{ count }} timers
|
2020-01-24 04:00:32 +00:00
|
|
|
{% endblocktrans %}
|
2017-09-25 16:13:37 +00:00
|
|
|
{% endwith %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block listgroup %}
|
|
|
|
<ul class="list-group list-group-flush">
|
2020-02-18 18:36:59 +00:00
|
|
|
{% for timer in instances %}
|
|
|
|
<a href="{% url 'core:timer-detail' timer.id %}"
|
2017-12-03 21:52:27 +00:00
|
|
|
class="list-group-item list-group-item-action">
|
2020-02-18 18:36:59 +00:00
|
|
|
<strong>{{ timer.title_with_child }}</strong>
|
2023-07-09 16:26:13 +00:00
|
|
|
<p class="text-body-secondary small m-0">
|
2020-02-18 18:36:59 +00:00
|
|
|
{% blocktrans trimmed with start=timer.start|time user=timer.user_username %}
|
2020-01-24 04:00:32 +00:00
|
|
|
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 %}
|