mirror of https://github.com/snachodog/mybuddy.git
28 lines
757 B
HTML
28 lines
757 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load duration i18n %}
|
|
|
|
{% block header %}
|
|
<a href="{% url "core:tummytime-list" %}">
|
|
{% trans "Today's Tummy Time" %}
|
|
</a>
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if stats.count > 0 %}
|
|
{{ stats.total|duration_string }}
|
|
{% else %}
|
|
{% trans "None" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block listgroup %}
|
|
<ul class="list-group list-group-flush text-body-secondary small">
|
|
{% for instance in instances %}
|
|
<li class="list-group-item">
|
|
{% blocktrans trimmed with duration=instance.duration|duration_string end=instance.end|time %}
|
|
{{ duration }} at {{ end }}
|
|
{% endblocktrans %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %} |