mirror of https://github.com/snachodog/mybuddy.git
28 lines
924 B
HTML
28 lines
924 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block header %}{% trans "Active Timers" %}{% endblock %}
|
|
|
|
{% block title %}
|
|
{% with instances|length as count %}
|
|
{% blocktrans trimmed with plural=count|pluralize %}
|
|
{{ count }} active timer{{ plural }}
|
|
{% endblocktrans %}
|
|
{% 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.title_with_child }}</strong>
|
|
<p class="text-muted small m-0">
|
|
{% blocktrans trimmed with start=instance.start|time user=instance.user %}
|
|
Started by {{ user }} at {{ start }}
|
|
{% endblocktrans %}
|
|
</p>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %} |