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