openfood test

This commit is contained in:
2025-09-19 18:58:05 -07:00
parent 7d3e4b3339
commit da426d625e
7 changed files with 352 additions and 25 deletions

View File

@@ -145,6 +145,9 @@
<div class="meal-header">
<span>
<i class="bi bi-egg-fried"></i> {{ meal_detail.plan.meal.name }} - {{ meal_detail.plan.meal.meal_type.title() }}
{% if meal_detail.plan.meal_time %}
<small class="text-muted">({{ meal_detail.plan.meal_time }})</small>
{% endif %}
</span>
<span class="badge bg-light text-dark">{{ "%.0f"|format(meal_detail.nutrition.calories) }} cal</span>
</div>