{# cotes: buildDisplayContext — intégré dans la carte score live / terminé #} {% set highlight_final = highlight_final|default(false) %}
{% if cotes.pronostics_count > 0 %} {% if cotes.mode|default('one_n_two') == 'one_n_two' and cotes.home is not null %} {% include 'competition/_match_cotes_1n2_blocks.html.twig' with { home: cotes.home, draw: cotes.draw, away: cotes.away, active_outcome: cotes.for_outcome|default(null), home_count: cotes.home_pronos_count|default(0), draw_count: cotes.draw_pronos_count|default(0), away_count: cotes.away_pronos_count|default(0), count_format: 'paren', cotes_filterable: true, id_prefix: 'match-live-cotes', variant: 'square', show_pronostics_meta: false, highlight_final: highlight_final, } only %} {% elseif cotes.for_score is not null %}

{% if highlight_final %} Cote finale {% else %} Cote score {% endif %} ×{{ cotes.for_score|number_format(2, ',', ' ') }} {% if cotes.min is not null and cotes.max is not null %} · min ×{{ cotes.min|number_format(2, ',', ' ') }} · moy. ×{{ cotes.moyenne|number_format(2, ',', ' ') }} · max ×{{ cotes.max|number_format(2, ',', ' ') }} {% endif %}

{% endif %} {% endif %}