{% extends 'base.html.twig' %} {% block title %}{{ meal.name }} — Repas{% endblock %} {% block body_class %}bg-stone-100 text-stone-900 dark:bg-stone-950 dark:text-stone-100{% endblock %} {% block body %}
"{{ meal.description }}"
{% endif %} {# ── Nutrition hero card ── #} {% if totalCal is not null or hasMacros %}{{ totalCal|number_format(0, ',', ' ') }} kcal
{{ consumptions|length }} aliment{{ consumptions|length > 1 ? 's' : '' }} · {{ meal.eatenAt|date('d/m/Y') }}
Protéines
{{ totalProteins|round(1) }}g
Glucides
{{ totalCarbs|round(1) }}g
Lipides
{{ totalFat|round(1) }}g
* Estimation basée sur les valeurs nutritionnelles pour 100 g × quantités consommées.
{% endif %}Aucun aliment enregistré.
{% else %}{{ c.quantity }}{% if c.item.stockUnit %} {{ c.item.stockUnit }}{% endif %}{% if c.item.brand %} · {{ c.item.brand }}{% endif %}
{{ (n.calories * c.quantity / 100)|round }} kcal
{% endif %} {% if c.item.nutriscoreGrade %} {{ c.item.nutriscoreGrade|upper }} {% endif %}