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

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

{% trans division.title %}

{% trans team.title %}

{% endblock %} {% block record %} {% if record.played %} {% blocktrans count counter=record.win|default:0 asvar wins %}{{ counter }} win{% plural %}{{ counter }} wins{% endblocktrans %} {% blocktrans count counter=record.loss|default:0 asvar losses %}{{ counter }} loss{% plural %}{{ counter }} losses{% endblocktrans %} {% blocktrans count counter=record.draw|default:0 asvar draws %}{{ counter }} draw{% plural %}{{ counter }} draws{% endblocktrans %}

{% blocktrans with played=record.played %}Played {{ played }}: {{ wins }}, {{ losses }}, {{ draws }}.{% endblocktrans %}

{% endif %} {% endblock %} {% block timeline %} {% for day in timeline %}

{{ day.date|date:"l, jS F Y" }}

    {% for item in day.items %} {% with match=item.match %} {% if item.gap_display %}
  1. {{ item.gap_display }} {% trans "between the start of your games" %}
  2. {% endif %}
  3. {{ match.datetime|time|default:tba }} {% if item.is_next %}{% trans "Up next" %}{% endif %} {% if match.is_bye %} {% trans "Bye" %} {% else %} {% trans "v" context "abbreviation: versus" %} {% with match|opponent:team as opponent %}{{ opponent.title|default:tba }}{% endwith %} {% score match team %} {{ match.play_at.title|default:tba }} {% 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 %}
  4. {% endwith %} {% endfor %}
{% empty %}

{% trans "No matches have been scheduled yet." %}

{% endfor %} {% endblock %} {% block undecided %} {% if undecided_by_date %}

{% trans "Finals & progression matches" %}

{% trans "These matches depend on results still to come — each side is shown by its formula until the standings decide it." %}

{% for date, matches in undecided_by_date.items %}
{{ date|date:"l, jS F Y" }}
{% endfor %}
{% endif %} {% endblock %} {% endblock %}