mirror of https://github.com/snachodog/mybuddy.git
24 lines
577 B
HTML
24 lines
577 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block header %}{% trans "Last Feeding" %}{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if feeding %}
|
|
{% blocktrans trimmed with time=feeding.start|timesince %}
|
|
{{ time }} ago
|
|
{% endblocktrans %}
|
|
{% else %}
|
|
{% trans "Never" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if feeding %}
|
|
{{ feeding.get_type_display }}, {{ feeding.get_method_display }}
|
|
{% if feeding.amount %}
|
|
({{ feeding.amount }})
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|