{% load food_quantity %}
  • {% with images=entry.attachments.all %} {% if images %}
    {% for attachment in images %}{% endfor %}
    {% elif entry.product and entry.product.image_url %}{% endif %} {% endwith %}
    {{ entry.product_name_snapshot }}{% if entry.brand_snapshot %}{{ entry.brand_snapshot }}{% endif %}{% if entry.effective_calories is not None %}{{ entry.effective_calories|floatformat:0 }} kcal{% else %}— kcal{% endif %} · {% if entry.portion_label_snapshot %}{{ entry.portion_label_snapshot }} {% endif %}({{ entry.amount|floatformat:-3 }} {{ entry.unit }}){% if entry.nutrition_incomplete %} · Incomplete nutrition estimate{% endif %}
    {% if entry.quantity > 1 %}
    {% csrf_token %}
    {% endif %}{{ entry.quantity|quantity_display }}×
    {% csrf_token %}
    Edit{% if entry.product %}Drink settings{% endif %}