2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load i18n %}
|
2017-08-18 15:00:58 +00:00
|
|
|
|
2019-04-14 15:40:08 +00:00
|
|
|
{% block header %}{% trans "Last Diaper Change" %}{% endblock %}
|
2017-08-18 15:00:58 +00:00
|
|
|
|
|
|
|
{% block title %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if change %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% blocktrans %}{{ change.time|timesince }} ago{% 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:00:58 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2017-10-28 00:12:39 +00:00
|
|
|
{% block content %}
|
|
|
|
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
|
|
|
|
{% endblock %}
|