mybuddy/dashboard/templates/cards/feeding_last.html

22 lines
523 B
HTML
Raw Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load i18n %}
{% block header %}{% trans "Last Feeding" %}{% endblock %}
{% block title %}
{% if feeding %}
{% blocktrans with time=feeding.start|timesince %}{{ time }} ago{% endblocktrans %}
{% else %}
{% trans "Never" %}
{% endif %}
{% endblock %}
{% block content %}
{% if feeding %}
{{ feeding.type }}, {{ feeding.method }}
{% if feeding.amount %}
({{ feeding.amount }})
{% endif %}
{% endif %}
{% endblock %}