{# match, pronostic, partner_pronostics, match_goals, match_joker, live_view, is_live, is_finished, team_match_points, espion_intel, show_joker_ui, prono_access_blocked #} {% set live_view = live_view|default(null) %} {% set is_live = is_live|default(false) %} {% set is_finished = is_finished|default(false) %} {% set match_goals = match_goals|default([]) %} {% set match_joker = match_joker|default(null) %} {% set team_match_points = team_match_points|default(null) %} {% set espion_intel = espion_intel|default(null) %} {% set show_joker_ui = show_joker_ui|default(false) %} {% set prono_access_blocked = prono_access_blocked|default(false) %} {% set show_joker_actions = show_joker_ui and match_joker %}
{% if live_view and match_cotes_visible(match) and (is_live or is_finished or multiplex_preview|default(false)) %}
{% include 'competition/_match_live_cotes.html.twig' with { cotes: live_view.cotes, highlight_final: is_finished, } only %}
{% endif %}

Pronos

{% 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 }}

{% elseif match_uses_default_zero_prono(match) %}

Prono par défaut 0-0

{% else %}

Aucun prono

{% endif %} {% if partner_pronostics|default([]) 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 posé : {{ match_joker.name|default(match_joker.code) }} {% if match_joker.target_team_name|default(null) %} → {{ match_joker.target_team_name }} {% endif %} {% if match_joker.effect_blocked|default(false) %} Bloqué {% endif %}

{% endif %} {% if show_joker_actions %} {% include 'competition/_match_card_joker_actions.html.twig' with { match: match, match_joker: match_joker, espion_intel: espion_intel, prono_access_blocked: prono_access_blocked, } only %} {% endif %}

Résultat LPF

{% if team_match_points is not null %}

Points équipe {{ team_match_points > 0 ? '+' : '' }}{{ 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 not team_match_points and not (live_view and live_view.viewerPronostic|default(null)) %}

{% endif %}
{% if is_live or is_finished or match_goals is not empty %}
{% include 'competition/_match_goals.html.twig' with { goals: match_goals } only %}
{% endif %} {% if live_view and live_view.matchJokers|default([]) is not empty %}
{% include 'competition/_match_live_jokers_section.html.twig' with { match_jokers: live_view.matchJokers, } only %}
{% endif %} {% if live_view and live_view.matchButeurs|default([]) is not empty %}

Buteurs des pays en lice

{% include 'competition/_match_live_match_buteurs.html.twig' with { match_buteurs: live_view.matchButeurs } only %}
{% endif %} {% if live_view and match.isKdoMatch and live_view.kdoOutlook|default(null) %}
{% include 'competition/_match_live_kdo.html.twig' with { kdo_outlook: live_view.kdoOutlook, kdo_final: is_finished, } only %}
{% endif %} {% if live_view and (is_live or is_finished or multiplex_preview|default(false)) %}

Pronostics par équipe

{% include 'competition/_match_live_teams.html.twig' with { teams: live_view.teams, cotes_visible: match_cotes_visible(match), viewer_pronostic: live_view.viewerPronostic|default(null), show_team_prono_detail: false, } only %}
{% endif %}