{% extends 'base.html.twig' %} {% block title %}Hub match — aperçu{% endblock %} {% block stylesheets %} {{ parent() }} {% if is_live or is_finished %} {% endif %} {% endblock %} {% block body %}
{% include 'home/_ui_preview_banner.html.twig' with { back_route: 'app_homepage' } only %}

{{ country_short_label(match.paysDomicile) }} — {{ country_short_label(match.paysExterieur) }}

{{ match.dateHeure|fr_match_datetime }}{% set phase_label = match_phase_label(match) %}{% if phase_label %} · {{ phase_label }}{% endif %}

Accueil
{% include 'components/_country_flag_img.html.twig' with { country: match.paysDomicile, img_classes: 'match-live-score-flag', placeholder_class: 'match-live-score-flag match-flag-placeholder', } only %} {{ country_short_label(match.paysDomicile) }}

{% if is_upcoming %} {{ match.dateHeure|date('H:i') }} {% else %} {{ match.scoreDomicile ?? 0 }} - {{ match.scoreExterieur ?? 0 }} {% endif %}

{% if is_live %} {{ match_live_clock_label(match) }} {% elseif is_finished %} Terminé {% else %} À venir {% endif %} {% if live_view and live_view.viewerPronostic|default(null) %} {% include 'competition/_match_viewer_pronostic.html.twig' with { viewer_pronostic: live_view.viewerPronostic } only %} {% elseif pronostic %}

Mon prono {{ pronostic.scoreDomicile }} - {{ pronostic.scoreExterieur }}

{% endif %}
{% include 'components/_country_flag_img.html.twig' with { country: match.paysExterieur, img_classes: 'match-live-score-flag', placeholder_class: 'match-live-score-flag match-flag-placeholder', } only %} {{ country_short_label(match.paysExterieur) }}

Avant le coup d’envoi

{% if pronostic %}

Mon prono {{ pronostic.scoreDomicile }} - {{ pronostic.scoreExterieur }}

{% else %}

{% if match_uses_default_zero_prono(match) %} Prono par défaut 0-0 (modifiable avant le CO). {% else %} Aucun prono enregistré (saisie obligatoire avant le CO). {% endif %}

{% endif %} {% if partner_pronostics is not empty %}
    {% for pp in partner_pronostics %} {% set partner = pp.joueur %}
  • {% if partner.avatar %} {% else %} {{ partner.email|first|upper }} {% endif %} {{ partner.email|split('@')|first }} {{ pp.scoreDomicile }} - {{ pp.scoreExterieur }}
  • {% endfor %}
{% endif %} {% if match_joker %}

Joker : {{ match_joker.name|default(match_joker.code) }}

{% endif %}

Résultat LPF

{% if is_upcoming %}

Points et classement simulé disponibles après le coup d’envoi.

{% if match_uses_default_zero_prono(match) %} Relance automatique si prono manquant (score 0-0 par défaut en base). {% else %} Pronostic obligatoire avant le coup d’envoi (pas de 0-0 automatique en 3e journée de poule ni en phases finales). {% endif %}

{% else %} {% if team_match_points is not null %}

Points équipe +{{ team_match_points }} pts

{% endif %} {% if live_view and live_view.viewerPronostic|default(null) %}

Mes points match {{ live_view.viewerPronostic.points|number_format(0, ',', ' ') }} pts

{% endif %} {% if is_live %}

Hub match (live + simulateur)

{% elseif is_finished %}

Vue pronostics actuelle

{% endif %} {% endif %}
{% if live_view and (is_live or is_finished) %}

Classement simulé (extrait)

{% include 'competition/_match_live_teams.html.twig' with { teams: live_view.teams|slice(0, 5), cotes_visible: match_cotes_visible(match), viewer_pronostic: live_view.viewerPronostic|default(null), } only %}
{% if live_view.matchJokers|default([]) is not empty %}
{% include 'competition/_match_live_jokers_section.html.twig' with { match_jokers: live_view.matchJokers, } only %}
{% endif %} {% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% if is_live %} {% endif %} {% endblock %}