mybuddy/dashboard/templates/cards/diaperchange_last.html

19 lines
518 B
HTML
Raw Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load i18n %}
2017-08-18 15:00:58 +00:00
{% block header %}{% trans "Last Diaper Change" %}{% endblock %}
2017-08-18 15:00:58 +00:00
{% block title %}
{% if change %}
2021-07-02 19:10:11 +00:00
{% blocktrans trimmed with since=change.time|timesince time=change.time|time %}
<div>{{ since }} ago</div>
<small>{{ time }}</small>
{% endblocktrans %}
{% else %}
{% trans "None" %}
{% endif %}
2017-08-18 15:00:58 +00:00
{% endblock %}
{% block content %}
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
{% endblock %}