{% extends "tournamentcontrol/competition/compops/base.html" %} {% load compops_tags tz %} {% block title %}{{ season }} · {{ day|date:"D j M" }} · Ops{% endblock %} {% block body_attrs %}class="compops" data-signals__ifmissing="{tab: 'results', modal: false}" data-indicator="connected" data-init="@get('{% compops_url 'events' %}', {retryMaxCount: 1000})"{% endblock %} {% block body %} {% timezone season.get_tzinfo %}
TOURNAMENT OPS {{ season }} · {{ day|date:"l j F" }} live updates {{ user.get_username }}
{% partialdef main inline %}

Results

{% partial results_count %}
{% partialdef results inline %}
{% for slot in slots %}{% partialdef slot inline %}
{% partialdef slot_header inline %}
{{ slot.label }} {{ slot.entered }} of {{ slot.total }} entered {{ slot.state|cut:"_"|title }}
{% endpartialdef %}
{% for match in slot.matches %} {% with form=match.compops_form editable=match.compops_editable entered=match.compops_entered editing=match.compops_editing %}{% partialdef match_row inline %}
{{ match.play_at.title|default:"—" }}{{ match.stage.division.title }}{% if match.stage_group %} · {{ match.stage_group.title }}{% endif %}
{% if editable and form %}
{% csrf_token %} {{ match.get_home_team_plain }} {% if match.is_bye %} {% else %} {{ form.home_team_score }}–{{ form.away_team_score }} {{ match.get_away_team_plain }} {% endif %} {% if form.is_forfeit %}
Forfeit {{ form.forfeit_winner }}
{% endif %} {% if editing %}✕{% endif %}
{% if form.errors %}
    {% for field, errors in form.errors.items %}{% for error in errors %}
  • {{ error }}
  • {% endfor %}{% endfor %}
{% endif %} {% elif entered %} {{ match.get_home_team_plain }} {% if match.is_bye %}processed{% elif match.is_forfeit %}forfeit → {{ match.forfeit_winner.title|default:"double" }}{% elif match.is_washout %}washout{% else %}{{ match.home_team_score }} – {{ match.away_team_score }}{% endif %} {{ match.get_away_team_plain }} {% if editable %}Edit{% endif %} {% else %} {{ match.get_home_team_plain }} v {{ match.get_away_team_plain }} {% if match.upstream_id %}from {{ match.upstream_backend.name|default:"upstream" }}{% elif match.home_team and match.away_team %}not entered{% else %}awaiting progression{% endif %} {% endif %}
{% endpartialdef %}{% endwith %} {% endfor %}
{% endpartialdef %}{% empty %}

No matches on this day.

{% endfor %}
{% endpartialdef %}

Awaiting scorers

{% partial scorers_count %}
{% partialdef scorers inline %}
{% for match in scorers %}
{{ match.play_at.title|default:"—" }}{{ match.time|time:"H:i" }} · {{ match.stage.division.title }}
{{ match.get_home_team_plain }} {{ match.home_team_score }} – {{ match.away_team_score }} {{ match.get_away_team_plain }} {% if match.out_of_balance %}out of balance{% endif %} {% if can_statistics %}Enter scorers{% endif %}
{% empty %}

No matches awaiting scorers.

{% endfor %}
{% endpartialdef %}
{% csrf_token %}
{% endpartialdef %} {% endtimezone %} {% endblock %} {# Partials the page does not show where they are defined. #} {# stream_buttons reads obj, can_stream, live_url, test_url and end_url. #} {% partialdef stream_buttons %} {% if can_stream and obj.external_identifier %}{% with effective=obj.live_stream_status|effective_status %} {% if effective == "live" %}
{% csrf_token %}
{% elif effective == "complete" %} {% else %} {% if effective != "testing" %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% endif %} {% endwith %}{% endif %} {% endpartialdef %} {% partialdef scorers_modal %} {% endpartialdef %}