Aucun match disponible pour le moment.
{% else %}
{% set default_prono_cutoff = default_prono_cutoff_match() %}
{% set default_prono_cutoff_day = default_prono_cutoff and default_prono_cutoff.dateHeure ? default_prono_cutoff.dateHeure|date('Y-m-d') : null %}
{% set current_day = null %}
{% for match in matches %}
{% set match_day = match.dateHeure ? match.dateHeure|date('Y-m-d') : 'date-inconnue' %}
{% if match_day != current_day %}
{% if not loop.first %}
{% endif %}
{% set current_day = match_day %}
{{ match.dateHeure ? match.dateHeure|fr_date_long : 'Date à définir' }}{% set day_phase_label = match_phase_label(match) %}{% if day_phase_label %} · {{ day_phase_label }}{% endif %}
{% if default_prono_cutoff_day and match_day == default_prono_cutoff_day %}
{% include 'competition/_default_prono_cutoff_notice.html.twig' with { match: default_prono_cutoff } only %}
{% endif %}
{% endif %}
{% set pronostic = pronostics_by_match_id[match.id] ?? null %}
{% set partner_pronostics = partner_pronostics_by_match_id[match.id] ?? [] %}
{% include 'competition/_match_card.html.twig' with {
match: match,
pronostic: pronostic,
partner_pronostics: partner_pronostics,
now: now,
prono_access_blocked: prono_access_blocked|default(false),
joker_usage_by_match_id: joker_usage_by_match_id|default({}),
espion_intel_by_match_id: espion_intel_by_match_id|default({}),
show_joker_ui: show_joker_ui|default(false),
team_favorite_highlight: team_favorite_highlight|default(null),
match_goals: goals_by_match_id[match.id] ?? [],
team_match_points_by_match_id: team_match_points_by_match_id|default({}),
} only %}
{% if loop.last %}
{% endif %}
{% endfor %}
{% endif %}