mybuddy/dashboard/templates/cards/tummytime_day.html

22 lines
615 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 %}
{% block footer %}Time since last: {{ last.end|timesince }}{% endblock %}