2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load duration i18n %}
|
2021-08-04 20:36:00 +00:00
|
|
|
{% block header %}
|
2024-02-06 13:35:36 +00:00
|
|
|
<a href="{% url "core:tummytime-list" %}">{% trans "Last Tummy Time" %}</a>
|
2021-08-04 20:36:00 +00:00
|
|
|
{% endblock %}
|
2017-08-18 15:22:08 +00:00
|
|
|
{% block title %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if tummytime %}
|
2022-10-11 03:52:06 +00:00
|
|
|
{% blocktrans trimmed with since=tummytime.time|deltasince|duration_string:'m' time=tummytime.time|time %}
|
2021-07-02 19:10:11 +00:00
|
|
|
<div>{{ since }} ago</div>
|
|
|
|
<small>{{ time }}</small>
|
2020-01-24 04:00:32 +00:00
|
|
|
{% endblocktrans %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% else %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% trans "Never" %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% 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 %}
|
2024-02-06 13:35:36 +00:00
|
|
|
<br />
|
|
|
|
{{ tummytime.milestone }}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% endif %}
|
2017-10-24 00:07:45 +00:00
|
|
|
{% endif %}
|
2024-02-06 13:35:36 +00:00
|
|
|
{% endblock %}
|