{% extends 'base.html.twig' %} {% block title %}Hub match — démo France / Allemagne{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %}
{% include 'home/_ui_preview_banner.html.twig' with { back_route: 'app_homepage' } only %}

{{ home_label }} — {{ away_label }}

{{ match_date|date('d/m/Y H:i') }} · {{ match_phase }} {% if match_venue %} · {{ match_venue }}{% endif %}

Données fictives — scénario de test, sans impact sur la base.

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

{% if is_upcoming %} {{ match_date|date('H:i') }} {% else %} {{ score_home }} - {{ score_away }} {% endif %}

{% if is_live and clock_label %} {{ clock_label }} {% elseif is_finished %} Terminé {% else %} À venir {% endif %} {% include 'competition/_match_viewer_pronostic.html.twig' with { viewer_pronostic: viewer_pronostic } only %}
{% include 'components/_country_flag_img.html.twig' with { country: away_country, img_classes: 'match-live-score-flag', placeholder_class: 'match-live-score-flag match-flag-placeholder', } only %} {{ away_label }}

Avant le coup d’envoi

Mon prono {{ viewer_pronostic.pred_home }} - {{ viewer_pronostic.pred_away }}

    {% for pp in partner_pronostics %}
  • {{ pp.initial }} {{ pp.name }} {{ pp.score_home }} - {{ pp.score_away }}
  • {% endfor %}
{% if match_joker %}

Joker : {{ match_joker.name }}

{% endif %}

Résultat LPF

{% if is_upcoming %}

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

Relance auto si prono manquant (0-0 par défaut en base).

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

Points équipe +{{ team_match_points }} pts

{% endif %}

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

{% if is_live %}

Score et points évoluent en direct dans la version finale.

{% endif %} {% endif %}
{% if ranking_rows is not empty %}

Classement simulé (fictif)

{% include 'competition/_match_hub_v2_demo_ranking.html.twig' with { ranking_rows: ranking_rows } only %}
{% endif %} {% if match_jokers is not empty %}

Jokers sur ce match

{% for joker in match_jokers %}

{{ joker.name }}

{% for story in joker.stories %}

{{ story }}

{% endfor %} {% endfor %}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}