2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load duration i18n %}
|
2017-08-18 18:58:10 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
{% block header %}
|
|
|
|
<a href="{% url "core:tummytime-list" %}">
|
|
|
|
{% trans "Today's Tummy Time" %}
|
|
|
|
</a>
|
|
|
|
{% endblock %}
|
2017-08-18 18:58:10 +00:00
|
|
|
|
|
|
|
{% block title %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if stats.count > 0 %}
|
|
|
|
{{ stats.total|duration_string }}
|
|
|
|
{% else %}
|
2020-02-15 21:48:17 +00:00
|
|
|
{% trans "None" %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% endif %}
|
2017-08-18 18:58:10 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block listgroup %}
|
|
|
|
<ul class="list-group list-group-flush text-muted small">
|
|
|
|
{% for instance in instances %}
|
2019-04-14 15:40:08 +00:00
|
|
|
<li class="list-group-item">
|
2020-01-24 04:00:32 +00:00
|
|
|
{% blocktrans trimmed with duration=instance.duration|duration_string end=instance.end|time %}
|
|
|
|
{{ duration }} at {{ end }}
|
|
|
|
{% endblocktrans %}
|
2019-04-14 15:40:08 +00:00
|
|
|
</li>
|
2017-08-18 18:58:10 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2017-10-24 00:07:45 +00:00
|
|
|
{% endblock %}
|