{# @var teams \App\Dto\MatchLiveTeamRow[] #} {# cotes_visible: bool — défaut true (page live = match démarré) #} {# viewer_pronostic: array|null — prono du joueur connecté (team_id) #} {# show_team_prono_detail: bool — ligne dépliable par équipe (défaut true) #} {% set cotes_visible = cotes_visible|default(true) %} {% set viewer_pronostic = viewer_pronostic|default(null) %} {% set show_team_prono_detail = show_team_prono_detail is defined ? show_team_prono_detail : true %} {% set connected_team_id = connected_team_id() %} {% set teams_table_colspan = show_team_prono_detail ? 9 : 8 %}
{% if show_team_prono_detail %} {% endif %} {% for team in teams %} {% set detail_id = 'match-live-detail-' ~ team.teamId %} {% set prono1 = team.pronostics[0]|default(null) %} {% set prono2 = team.pronostics[1]|default(null) %} {% set is_viewer_team = (viewer_pronostic and team.teamId == viewer_pronostic.team_id) or (connected_team_id and team.teamId == connected_team_id) %} {% set exact_prono_count = team.exactPronosticCount() %} {% set team_prono_outcomes = team.pronosticOutcomes() %} {% if show_team_prono_detail %} {% endif %} {% if show_team_prono_detail %} {% endif %} {% else %} {% endfor %}
# Équipe Total Match Prono 1 Prono 2 Buteurs
{% include 'competition/_match_live_team_jokers.html.twig' with { badges: team.jokerBadges, variant: 'row' } only %}
#{{ team.simulatedRankingPosition }} {% if team.rankingPosition < 9999 %} ({{ team.rankingPosition }}) {% endif %}
{% if team.teamLogo %} {% set team_logo_src = (team.teamLogo starts with 'http://' or team.teamLogo starts with 'https://') ? team.teamLogo : asset(team.teamLogo) %} {% include 'shared/_lpf_lightbox_trigger.html.twig' with { src: team_logo_src, title: team.teamName, alt: team.teamName, img_class: 'match-live-team-logo', btn_class: 'lpf-lightbox-trigger match-live-team-logo-btn', } only %} {% else %} {% endif %} {{ team.teamName }}
{{ team.simulatedTotalPoints|number_format(0, ',', ' ') }} {{ team.matchPointsTotal|number_format(0, ',', ' ') }} {% if prono1 %} {{ prono1.predHome }}-{{ prono1.predAway }}·{{ prono1.teamPoints|number_format(0, ',', ' ') }} {% else %} {% endif %} {% if prono2 %} {{ prono2.predHome }}-{{ prono2.predAway }}·{{ prono2.teamPoints|number_format(0, ',', ' ') }} {% else %} {% endif %} {{ team.buteurMatchPoints|number_format(0, ',', ' ') }}
Aucune équipe enregistrée.