mybuddy/dashboard/templates/cards/diaperchange_last.html

16 lines
401 B
HTML

{% extends 'cards/base.html' %}
{% load i18n %}
{% block header %}{% trans "Last Diaper Change" %}{% endblock %}
{% block title %}
{% if change %}
{% blocktrans %}{{ change.time|timesince }} ago{% endblocktrans %}
{% else %}
{% trans "Never" %}
{% endif %}
{% endblock %}
{% block content %}
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
{% endblock %}