2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load i18n %}
|
2017-08-18 14:32:17 +00:00
|
|
|
|
2019-04-14 15:40:08 +00:00
|
|
|
{% block header %}{% trans "Last Feeding" %}{% endblock %}
|
2017-08-18 14:32:17 +00:00
|
|
|
|
|
|
|
{% block title %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if feeding %}
|
2021-07-02 19:10:11 +00:00
|
|
|
{% blocktrans trimmed with since=feeding.start|timesince time=feeding.start|time %}
|
|
|
|
<div>{{ since }} ago</div>
|
|
|
|
<small>{{ time }}</small>
|
2020-01-24 04:00:32 +00:00
|
|
|
{% endblocktrans %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% else %}
|
2020-02-15 21:48:17 +00:00
|
|
|
{% trans "None" %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% endif %}
|
2017-08-18 14:32:17 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if feeding %}
|
2019-11-09 22:05:55 +00:00
|
|
|
{{ feeding.get_type_display }}, {{ feeding.get_method_display }}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% if feeding.amount %}
|
2018-03-14 02:10:21 +00:00
|
|
|
({{ feeding.amount }})
|
2017-10-28 00:12:39 +00:00
|
|
|
{% endif %}
|
2017-10-24 00:07:45 +00:00
|
|
|
{% endif %}
|
2019-08-22 23:54:48 +00:00
|
|
|
{% endblock %}
|