mirror of https://github.com/snachodog/mybuddy.git
21 lines
505 B
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 %} |