mirror of https://github.com/snachodog/mybuddy.git
16 lines
416 B
HTML
16 lines
416 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block header %}{% trans "Last Diaper Change" %}{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if change %}
|
|
{% blocktrans with time=change.time|timesince %}{{ time }} ago{% endblocktrans %}
|
|
{% else %}
|
|
{% trans "Never" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if change %}{{ change.attributes|join:', ' }}{% endif %}
|
|
{% endblock %} |