mybuddy/dashboard/templates/cards/tummytime_day.html

22 lines
619 B
HTML
Raw Normal View History

2017-08-18 18:58:10 +00:00
{% extends 'cards/tummytime.html' %}
{% load duration %}
2017-08-18 18:58:10 +00:00
{% block header %}Today's Tummy Time{% endblock %}
{% block title %}
<strong>{{ stats.total|duration_string }}</strong>
2017-08-18 18:58:10 +00:00
{% 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>
2017-08-18 18:58:10 +00:00
{% endfor %}
</ul>
{% endblock %}
{% block footer %}Last tummy time: {{ last.end|timesince }} ago{% endblock %}