2017-08-18 15:22:08 +00:00
|
|
|
{% extends 'cards/tummytime.html' %}
|
2017-08-20 14:04:20 +00:00
|
|
|
{% load duration %}
|
2017-08-18 15:22:08 +00:00
|
|
|
|
|
|
|
{% block header %}Last Tummy Time{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if tummytime %}
|
|
|
|
<strong>{{ tummytime.time|timesince }}</strong> ago
|
|
|
|
{% else %}
|
|
|
|
Never
|
|
|
|
{% endif %}
|
2017-08-18 15:22:08 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if tummytime %}
|
|
|
|
{{ tummytime.duration|duration_string }}
|
|
|
|
{% if tummytime.milestone %}
|
|
|
|
<br /> {{ tummytime.milestone }}
|
|
|
|
{% endif %}
|
2017-10-24 00:07:45 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|