mybuddy/dashboard/templates/cards/feeding_last.html

20 lines
426 B
HTML

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