mybuddy/dashboard/templates/cards/tummytime_last.html

21 lines
471 B
HTML
Raw Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load duration %}
{% block header %}Last Tummy Time{% endblock %}
{% block title %}
{% if tummytime %}
2017-10-30 23:35:51 +00:00
{{ tummytime.time|timesince }} ago
{% else %}
Never
{% endif %}
{% endblock %}
{% block content %}
{% if tummytime %}
{{ tummytime.duration|duration_string }}
{% if tummytime.milestone %}
<br /> {{ tummytime.milestone }}
{% endif %}
{% endif %}
{% endblock %}