{% extends "tournamentcontrol/competition/base.html" %} {% load i18n %} {% load common competition %} {% block page_title %}{% trans competition.title %} - {% trans season.title %} - {% trans division.title %} - {% trans stage.title %}{% endblock %} {% block content %} {% trans "TBA" as tba context "abbreviation: to be advised" %} {% trans "TBC" as tbc context "abbreviation: to be confirmed" %} {% block heading %}

{% trans competition.title %} - {% trans season.title %}

{% trans division.title %}

{% trans stage.title %}

{% endblock %} {% for stage, pools in stage.ladders.items %} {% if pools %}
{% if forloop.first and forloop.last %} {% else %}

{% trans stage.title %}

{% endif %} {% if stage.pool_count %} {% include "tournamentcontrol/competition/ladder/pool.html" %} {% else %} {% include "tournamentcontrol/competition/ladder/standard.html" %} {% endif %}
{% endif %} {% endfor %} {% for stage, dates in stage.matches_by_date.items %} {% for date, matches in dates.items %} {% if matches %} {% ifchanged date %}

{{ date|default_if_none:tbc }}

{% endifchanged %} {% for match in matches %} {% if match.is_bye %} {% else %} {% if not match.is_forfeit %} {% else %} {% endif %} {% endif %} {% if match.statistics_count %} {% else %} {% endif %} {% endfor %}
{% ifchanged %} {% if match.label %} {% trans match.label %} {% else %} {% if not match.is_final %} {% blocktrans with num=match.round|default:forloop.parentloop.counter %}Round {{ num }}{% endblocktrans %} {% endif %} {% endif %} {% endifchanged %} {{ match.datetime|date:"G:i"|default:tba }} {{ match.play_at.title|default:tba }}{% trans "Forfeit" %} {% if match.home_team %} {% url application.name|add:":team" competition=competition.slug season=season.slug division=division.slug team=match.home_team.slug as url1 %} {% url application.name|add:":team" season=season.slug division=division.slug team=match.home_team.slug as url2 %} {% url application.name|add:":team" division=division.slug team=match.home_team.slug as url3 %} {% trans match.home_team.title %} {% else %} {% trans match.get_home_team.title %} {% endif %} {{ match.home_team_score|default_if_none:"-" }} {% trans "vs" context "abbreviation: versus" %} {{ match.away_team_score|default_if_none:"-" }} {% if match.away_team %} {% url application.name|add:":team" competition=competition.slug season=season.slug division=division.slug team=match.away_team.slug as url1 %} {% url application.name|add:":team" season=season.slug division=division.slug team=match.away_team.slug as url2 %} {% url application.name|add:":team" division=division.slug team=match.away_team.slug as url3 %} {% trans match.away_team.title %} {% else %} {% trans match.get_away_team.title %} {% endif %} {% url application.name|add:":match" competition=competition.slug season=season.slug division=division.slug match=match.pk as url1 %} {% url application.name|add:":match" season=season.slug division=division.slug match=match.pk as url2 %} {% url application.name|add:":match" division=division.slug match=match.pk as url3 %} {% trans "Detail" %}
{% endif %} {% endfor %} {% endfor %} {% endblock %}