mybuddy/dashboard/templates/cards/diaperchange_last.html

19 lines
518 B
HTML

{% extends 'cards/base.html' %}
{% load i18n %}
{% block header %}{% trans "Last Diaper Change" %}{% endblock %}
{% block title %}
{% if change %}
{% blocktrans trimmed with since=change.time|timesince time=change.time|time %}
<div>{{ since }} ago</div>
<small>{{ time }}</small>
{% endblocktrans %}
{% else %}
{% trans "None" %}
{% endif %}
{% endblock %}
{% block content %}
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
{% endblock %}