{# Health ▸ Overview: today's energy tile (views.summary as s) — the inside of a tile. #} {% import "food/_head.html" as fd %} Eaten today {% if not s.n %}—nothing logged {% else %}{{ fd.n(s.ring.kcal) }} kcal{% if s.ring.left >= 0 %}{{ fd.n(s.ring.left) }} left of {{ fd.n(s.target) }}{% else %}{{ fd.n(-s.ring.left) }} over {{ fd.n(s.target) }}{% endif %}{% endif %}