mybuddy/dashboard/templates/cards/diaperchange_last.html

18 lines
445 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 %}
{% blocktrans trimmed with time=change.time|timesince %}
{{ time }} ago
{% endblocktrans %}
{% else %}
{% trans "None" %}
{% endif %}
2017-08-18 15:00:58 +00:00
{% endblock %}
{% block content %}
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
{% endblock %}