{% set result = view.result %} {% set format = fixture.format %}

{% if fixture.leagueName %} {{ fixture.leagueName }} {{ format.label }} {% else %} {{ format.label }} {% endif %}

{{ fixture.mySquad.name }} {{ result.myPoints|number_format(1, ',', ' ') }} : {{ result.opponentPoints|number_format(1, ',', ' ') }} {{ fixture.opponentSquad.name }}

{% set total = result.myPoints + result.opponentPoints %}

{{ result.outcome.label }} {% if result.margin != 0 %}({{ result.margin > 0 ? '+' : '' }}{{ result.margin|number_format(1, ',', ' ') }}){% endif %} · {{ format.scoreLabel }} · {% if fixture.gameweek.dataChecked %} wynik ostateczny {% elseif fixture.gameweek.finished %} kolejka zakończona, trwa naliczanie bonusów {% else %} kolejka w toku {% endif %}

{% if view.syncFailed %}

FPL API nie odpowiedziało — pokazuje ostatnie zapisane dane.

{% endif %} {% if not view.hasAnyData %}

Brak danych z FPL — kolejka jeszcze się nie rozpoczęła.

{% endif %}
{% if format.usesDuels %} {% include 'fixture/_duels.html.twig' with {'result': result} only %} {% endif %} {% include 'fixture/_standings.html.twig' with {'view': view, 'format': format} only %} {% include 'fixture/_differentials.html.twig' with {'report': view.differentials, 'fixture': fixture} only %} {% include 'fixture/_picks.html.twig' with {'view': view, 'fixture': fixture} only %}