mybuddy/dashboard/templates/cards/tummytime_day.html

20 lines
540 B
HTML

{% extends 'cards/tummytime.html' %}
{% load duration %}
{% block header %}Today's Tummy Time{% endblock %}
{% block title %}
<strong>{{ stats.total|duration_string }}</strong>
{% endblock %}
{% block content %}
{{ stats.count }} total entries
{% endblock %}
{% block listgroup %}
<ul class="list-group list-group-flush text-muted small">
{% for instance in instances %}
<li class="list-group-item">{{ instance.duration|duration_string }} at {{ instance.end|time }}</li>
{% endfor %}
</ul>
{% endblock %}