{% extends "tournamentcontrol/competition/admin/base.html" %} {% load i18n static %} {% block main_content %}

{% trans "Matches by date" %}

{% for date in dates %} {% empty %} {% endfor %}
{% trans "Date" %} {% trans "Allocation" %} {% trans "Matrix" %} {% trans "Results" %} {% trans "Scorecards" %}
{% spaceless %} {% endspaceless %} {{ date|date }} {% if date >= today or user.is_superuser %} {% trans "List" %} {#{% trans "Grid" %}#} {% endif %} {% trans "HTML" %} {% trans "PDF" %} {% if date <= today or user.is_superuser %} {% trans "Enter Results" %} {% endif %} {% trans "Scorecards" %}
{% trans "There are no matches scheduled yet." %}
{% block buttons %}
{% trans "Reschedule" %} {% trans "Grid" %}
{% endblock %} {% if unscheduled %}

{% trans "Unscheduled Rounds" %}

{% for division, stage, round, date, pools in unscheduled %} {% endfor %}
{% trans "Division" %} {% trans "Stage" %} {% trans "Date" %} {% trans "Round" %} {% trans "Allocation" %}
{% ifchanged %}{{ division.title }}{% endifchanged %} {% ifchanged division stage %}{{ stage.title }}{% endifchanged %} {% ifchanged division stage date %}{{ date }}{% endifchanged %} {{ round|default_if_none:"-" }}{% if pools %} ({% for pool in pools %}{{ pool.short_title|default:pool.title }}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %} {% url 'admin:competition:match-schedule' competition.pk season.pk date|date:"Ymd" division.pk stage.pk round as round_url %} {% url 'admin:competition:match-schedule' competition.pk season.pk date|date:"Ymd" division.pk stage.pk as stage_url %} {% trans "List" %} {#{% trans "Grid" %}#}
{% endif %} {% endblock %}