{% extends "tournamentcontrol/competition/compops/base.html" %}
{% load static tz compops_tags %}
{% block title %}Booth · {{ ground.title }}{% endblock %}
{% block extracss %} {% endblock %}
{% block body_attrs %}class="booth" data-signals__ifmissing="{pane: '{{ pane|default:'' }}', match: {{ pane_match.pk|default:'null' }}, modal: false}" data-indicator="connected" data-effect="$pane; $match; @get('{% url 'compops:booth-events' competition=season.competition.slug season=season.slug ground=ground.slug %}', {retryMaxCount: 1000})"{% endblock %}
{% block body %}{% timezone tzinfo %}
BOOTH
{{ ground.title }}
updates connected
{{ now|time:"H:i" }}
{% partialdef lamp inline %}
{% if status == "live" %}ON AIR
{% elif status == "testing" %}STANDBY
{% else %}OFF AIR
{% endif %}
{% if broadcast %}{% if status == "live" %}Broadcasting{% elif status == "testing" %}Standby{% else %}Off air{% endif %} · {{ broadcast.get_home_team_plain }} v {{ broadcast.get_away_team_plain }}
{{ broadcast.stage.division.title }} · kick-off {{ broadcast.time|time:"H:i" }}{% if broadcast.live_stream_status_at %} · {{ status }} since {{ broadcast.live_stream_status_at|time:"H:i" }}{% endif %}{% if not broadcast.external_identifier %} · no YouTube broadcast{% endif %}
{% else %}Nothing on {{ ground.title }} right now {% endif %}
{% for error in errors %}{{ error }} {% endfor %}
{% if broadcast and broadcast.external_identifier %}
{% if status == "live" %}
{% url 'compops:booth-onair' competition=season.competition.slug season=season.slug ground=ground.slug status='complete' as end_url %}
{% elif status != "complete" %}
{% url 'compops:booth-onair' competition=season.competition.slug season=season.slug ground=ground.slug status='live' as live_url %}
{% else %}
ENDED {% endif %}
{% endif %}
{% if armable_match %}Next on {{ ground.title }} today: {{ armable_match.time|time:"H:i" }} {{ armable_match.get_home_team_plain }} v {{ armable_match.get_away_team_plain }}{% else %}No more broadcasts on {{ ground.title }} today{% endif %}
{% if armable %}{% url 'compops:booth-arm' competition=season.competition.slug season=season.slug ground=ground.slug as arm_url %} · {% elif arm_reason %} · {{ arm_reason }}{% endif %}
{% endpartialdef %}
{% partialdef strip inline %}
Previous on {{ ground.title }}
{% if previous %}
{{ previous.get_home_team_plain }} v {{ previous.get_away_team_plain }}
{% if previous.is_forfeit %}forfeit{% else %}{{ previous.home_team_score|default_if_none:"–" }} – {{ previous.away_team_score|default_if_none:"–" }}{% endif %}
{{ previous.time|time:"H:i" }} · {{ previous.stage.division.title }}
{% else %}
—
{% endif %}
Now{% if current %} · {{ current.time|time:"H:i" }} · {{ current.stage.division.title }}{% if current.stage_group %} · {{ current.stage_group.title }}{% endif %}{% endif %}
{% if current %}
{{ current.get_home_team_plain }} v {{ current.get_away_team_plain }}
{% if current.home_team_score is not None %}
{{ current.home_team_score }} – {{ current.away_team_score }}
{% endif %}
Kicked off {{ current.time|time:"H:i" }}
{% else %}
Nothing on this ground right now
{% endif %}
Next on {{ ground.title }}
{% if next %}
{{ next.get_home_team_plain }} v {{ next.get_away_team_plain }}
{{ next.time|time:"H:i" }} · {{ next.stage.division.title }}
prep team sheets →
{% else %}
No more today
{% endif %}
{% endpartialdef %}
{% with focus=broadcast|default:current %}
{% if focus %}
{% for name, label in panes %}
{{ label }}
{% endfor %}
{% endif %}
{{ ground.title }} runsheet
{% if focus %}Teams · {{ focus.stage.division.title }} {% endif %}
{% endwith %}
{% if pane_html %}{{ pane_html|safe }}{% else %}
{{ division.title }} tap a team for its tournament so far Close
{% for pool, teams in pools.items %}
{% if pool %}
{{ pool }} {% endif %}
{% for team in teams %}
{{ team.title }} {% if team.pk in on_field %}on this field now {% endif %}
{% endfor %}
{% endfor %}
{% endpartialdef %}
{% partialdef team_modal %}
{{ team.title }} {{ team.division.title }}{% if team.stage_group %} · {{ team.stage_group.title }}{% endif %} Close
Squad · tournament totals
# Player P Pts MVP
{% for player in squad %}{{ player.number|default_if_none:"—" }} {{ player.person.first_name }} {{ player.person.last_name }} {{ player.stat_played|default_if_none:"0" }} {{ player.stat_points|default_if_none:"—" }} {{ player.stat_mvp|default_if_none:"—" }} {% empty %}No players on the team sheet. {% endfor %}
Results · this tournament
{% for m in results %}{% if m.round %}R{{ m.round }}{% endif %} {{ m.datetime|date:"D H:i" }} · {{ m.play_at.title|default:"—" }} v {% if m.home_team_id == team.pk %}{{ m.get_away_team_plain }}{% else %}{{ m.get_home_team_plain }}{% endif %} {% if m.home_team_score is not None %}{% if m.home_team_id == team.pk %}{{ m.home_team_score }} – {{ m.away_team_score }}{% else %}{{ m.away_team_score }} – {{ m.home_team_score }}{% endif %}{% elif m.is_forfeit %}forfeit{% endif %} {% empty %}No matches yet. {% endfor %}
{% endpartialdef %}