mybuddy/dashboard/templates/cards/tummytime_last.html

21 lines
493 B
HTML

{% extends 'cards/tummytime.html' %}
{% load duration %}
{% block header %}Last Tummy Time{% endblock %}
{% block title %}
{% if tummytime %}
<strong>{{ tummytime.time|timesince }}</strong> ago
{% else %}
Never
{% endif %}
{% endblock %}
{% block content %}
{% if tummytime %}
{{ tummytime.duration|duration_string }}
{% if tummytime.milestone %}
<br /> {{ tummytime.milestone }}
{% endif %}
{% endif %}
{% endblock %}