{% extends "flashboard/scoreboard/base.html" %} {% load i18n %} {% load common %} {% block page_title %}{{ block.super }} – {{ competition }} – {{ season }}{% endblock %} {% block content %} {% trans "TBA" as tba context "abbreviation: to be advised" %}
{% if division.stages.with_ladder.exists %}

Ladders

{% if division.stages.with_ladder.count > 1 %}
{% endif %}
{% for g in division.stages.with_ladder reversed %}
{% for p in g.pools.all %} {% for l in p.ladder_summary.all %} {% empty %} {% endfor %} {% empty %} {% for l in g.ladder_summary.all %} {% empty %} {% endfor %} {% endfor %}
{{ p.short_title|default:p.title }} + - +/- % Pts
{{ l.team.short_title }} {{ l.score_for }} {{ l.score_against }} {{ l.difference|stringformat:"g" }} {{ l.percentage }} {{ l.points|stringformat:"g" }}
Awaiting results …
Team + - +/- % Pts
{{ l.team.short_title }} {{ l.score_for }} {{ l.score_against }} {{ l.difference|stringformat:"g" }} {{ l.percentage }} {{ l.points|stringformat:"g" }}
Awaiting results …
{% endfor %}
{% endif %}
{% if results %}

Latest Results

{% regroup results by round as timeslots %} {% for group in timeslots reversed %} {% for r in group.list %} {% endfor %} {% empty %} {% endfor %}
{% if r.label %}{{ r.label }}{% else %}R{{ r.round }}{% endif %} {{ r.home_team.short_title }} {{ r.home_team_score|default_if_none:"-" }} {{ r.away_team.short_title }} {{ r.away_team_score|default_if_none:"-" }}
Awaiting results …
{% endif %} {% if upcoming %}

Upcoming Fixtures

{% for r in upcoming %} {% if r.home_team %} {% else %} {% endif %} {% if r.away_team %} {% else %} {% endif %} {% empty %} {% endfor %}
{{ r.datetime|timeuntil }}{{ r.get_home_team.short_title }}{{ tba }}{{ r.get_away_team.short_title }}{{ tba }}{{ r.play_at.abbreviation }}
No more fixtures.
{% endif %}
{% endblock %}