2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2022-10-11 03:52:06 +00:00
|
|
|
{% load duration i18n %}
|
2017-08-18 15:00:58 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
{% block header %}
|
|
|
|
<a href="{% url "core:diaperchange-list" %}">
|
|
|
|
{% trans "Last Diaper Change" %}
|
|
|
|
</a>
|
|
|
|
{% endblock %}
|
2017-08-18 15:00:58 +00:00
|
|
|
|
|
|
|
{% block title %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if change %}
|
2022-10-11 03:52:06 +00:00
|
|
|
{% blocktrans trimmed with since=change.time|deltasince|duration_string:'m' time=change.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 %}
|
2020-02-15 21:48:17 +00:00
|
|
|
{% trans "None" %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% endif %}
|
2017-08-18 15:00:58 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2017-10-28 00:12:39 +00:00
|
|
|
{% block content %}
|
|
|
|
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
|
|
|
|
{% endblock %}
|