{% if item.proposed_start and item.proposed_end %}
{{ item.proposed_start.strftime('%H:%M') }} – {{ item.proposed_end.strftime('%H:%M') }}
{% else %}Horaire à définir{% endif %}
· {{ item.duration_minutes }} min
{{ item.title }}
{{ item.location_label }}
{{ item.type_label }}
{{ item.constraint_label }}
{{ item.status|capitalize }}
{{ item.explanation }}
{% endif %} {% if item.source_type == 'scheduled_task' and execution_states.get(item.source_id) %} {% set execution = execution_states.get(item.source_id) %}Temps réalisé : {{ execution.realized }} min · restant : {{ execution.remaining }} min
{% if execution.status in ('planned', 'suspended', 'postponed') %}{% endif %}
{% if execution.status == 'in_progress' %}{% endif %}
{% if execution.status == 'paused' %}{% endif %}
{% endif %}
{% set item_alternatives = alternatives.get((item.source_type, item.source_id), []) %}
{% if item_alternatives and item.status != 'conflit' %}