mybuddy/dashboard/templates/cards/diaperchange_last.html

16 lines
348 B
HTML

{% extends 'cards/diaperchange.html' %}
{% block header %}Last Diaper Change{% endblock %}
{% block title %}
{% if change %}
<strong>{{ change.time|timesince }}</strong> ago
{% else %}
Never
{% endif %}
{% endblock %}
{% block content %}
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
{% endblock %}