{% 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 %}
{% csrf_token %}
{% elif status != "complete" %} {% url 'compops:booth-onair' competition=season.competition.slug season=season.slug ground=ground.slug status='live' as live_url %}
{% csrf_token %}
{% else %}{% 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 %} ·
{% csrf_token %}
{% 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 }}
{% else %}
No more today
{% endif %}
{% endpartialdef %} {% if pane_html %}{{ pane_html|safe }}{% else %}

Nothing on {{ ground.title }} right now.

{% endif %} {% endtimezone %}{% endblock %} {% block extrajs %}{% endblock %} {# Partials the page does not show where they are defined. #} {% partialdef pane_sheets %}
{% for team, roster in rosters %}

{{ team.title }}

{{ team.division.title }}{% if team.stage_group %} · {{ team.stage_group.title }}{% endif %}
{% for player in roster %} {% empty %}{% endfor %}
#PlayerPPtsMVP
{{ 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:"—" }}
No players on the team sheet.
{% endfor %}
{% endpartialdef %} {% partialdef pane_results %}
{% for team, matches in results %}

{{ team.title }} · this tournament

{% for m in matches %} {% endfor %}
{% 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{% elif m.pk == pane_match.pk %}now{% endif %}
{% endfor %}
{% endpartialdef %} {% partialdef pane_ladder %}

{{ ladder_title }}

{% for row in ladder %} {% empty %}{% endfor %}
#TeamPWDLFADiffPts
{{ forloop.counter }}{{ row.team.title }}{{ row.played }}{{ row.win }}{{ row.draw }}{{ row.loss }}{{ row.score_for }}{{ row.score_against }}{{ row.difference|floatformat:"0" }}{{ row.points|floatformat:"-2" }}
No ladder for this stage.
{% endpartialdef %} {% partialdef pane_leaders %}

Top scorers · {{ pane_match.stage.division.title }}

{% for row in scorers %}{% empty %}{% endfor %}
{{ forloop.counter }}{{ row.name }} · {{ row.team }}{{ row.points }}
No points recorded yet.

MVP points · {{ pane_match.stage.division.title }}

{% for row in mvps %}{% empty %}{% endfor %}
{{ forloop.counter }}{{ row.name }} · {{ row.team }}{{ row.mvp }}
No MVP points recorded yet.
{% endpartialdef %} {% partialdef pane_runsheet %}

{{ ground.title }} · {{ day|date:"D j M" }}

{% for m in runsheet %} {% if m.live_stream_status|effective_status == "live" %}{% elif not m.external_identifier %}{% else %}{% endif %} {% empty %}{% endfor %}
{{ m.time|time:"H:i" }}{{ m.stage.division.title }}{{ m.get_home_team_plain }} v {{ m.get_away_team_plain }}{% if m.home_team_score is not None %}{{ m.home_team_score }} – {{ m.away_team_score }}{% endif %}ON AIRno broadcast{{ m.live_stream_status|default:"ready" }}
No matches on this ground today.
{% endpartialdef %} {% partialdef teams_modal %} {% endpartialdef %} {% partialdef team_modal %} {% endpartialdef %}