{% if static is not defined %} {% set static = false %} {% endif %} {% if ajax is defined and ajax and not static and public %}
{% include 'partials/scoreboard_progress_bar.html.twig' with {contest: current_contest} %}
{% endif %} {% if current_contest is null %}

No active contest

{% else %} {% if current_contest.warningMessage %} {% endif %}
{{ current_contest.name }} {% if scoreboard is null %} {{ current_contest | printContestStart }} {% elseif scoreboard.freezeData.showFinal(jury) %} {% if current_contest.finalizetime is empty %} preliminary results - not final {% else %} final standings {% endif %} {% elseif scoreboard.freezeData.stopped %} contest over, waiting for results {% elseif static %} {% set now = 'now'|date('U') %} {{ current_contest.starttime | printelapsedminutes(now) }} {% else %} {% if current_contest.freezeData.started %} started: {% else %} starts: {% endif %} {{ current_contest.starttime | printtime }} - ends: {{ current_contest.endtime | printtime }} {% endif %}
{% if static %} {% include 'partials/scoreboard_progress_bar.html.twig' with {contest: current_contest} %} {% endif %}
{# card #} {% if scoreboard is null and not jury %} {# Display a list of teams by group. This is targeted for World Finals, but looks nice anyway #} {% for affiliationGroupRow in groupedAffiliations %}
{% for category, affiliations in affiliationGroupRow %}
{{ category }}
    {% for affiliation in affiliations %}
  • {% set affiliationLogo = affiliation.id | assetPath('affiliation') %} {% if affiliationLogo %} {% endif %} {{ affiliation.name }}
  • {% endfor %}
{% endfor %} {% if affiliationGroupRow | length < 3 %} {% for i in (affiliationGroupRow | length + 1)..3 %}
{% endfor %} {% endif %}
{% endfor %} {% else %} {% if show_balloon_public_message is defined and show_balloon_public_message %} {% endif %} {% if scoreboard.freezeData.showFrozen(false) %} {% endif %} {% if not static and (filterValues.affiliations | length > 1 or filterValues.countries | length > 1 or filterValues.categories | length > 1) %} {% else %} {# not static and filterValues*length>1 #}
{% endif %} {# not static and filterValues*length>1 #} {% include 'partials/scoreboard_table.html.twig' with {displayRank: true, showLegends: true} %} {% endif %} {# not scoreboard is null and not jury #}

Last Update: {{ null | printtime('D d M Y H:i:s T') }}
using DOMjudge

{% endif %}