mybuddy/dashboard/templates/cards/feeding_last.html

21 lines
505 B
HTML

{% extends 'cards/base.html' %}
{% load i18n %}
{% block header %}{% trans "Last Feeding" %}{% endblock %}
{% block title %}
{% if feeding %}
{% blocktrans %}{{ feeding.end|timesince }} ago{% endblocktrans %}
{% else %}
{% trans "Never" %}
{% endif %}
{% endblock %}
{% block content %}
{% if feeding %}
{{ feeding.type }}, {{ feeding.method }}
{% if feeding.amount %}
({{ feeding.amount }})
{% endif %}
{% endif %}
{% endblock %}