{% if ev.plate %}
{{ ev.plate }}
{% else %}
Non lue
{% endif %}
{{ ev.color_name or '—' }}
{{ ev.color_hex or '' }}
id: {{ ev.id[:8] }}…
frames: {{ frames|length }} / {{ capture_total }}
clip: {% if ev.clip_path %}✓ {{ clip_size }}{% else %}—{% endif %}
snapshot: {% if ev.snapshot_path %}✓{% else %}—{% endif %}
Meilleure frame (★)
{% if ev.clip_path %}Fichier introuvable{% else %}Événement antérieur à la fonctionnalité clip{% endif %}
{% endif %}
{% if frames %}
{% for frame_path in frames %}
{% endfor %}
#{{ loop.index }}{% if loop.first %} ★{% endif %}
Événement antérieur à la fonctionnalité frames (pas de dossier /data/events/{{ ev.id[:8] }}…)
{% endif %}