{% extends "tournamentcontrol/competition/base.html" %} {% load i18n static %} {% load common competition %} {% block page_title %}{% trans match.title %} - {{ match.datetime|date:"jS F, Y @ G:i" }} [{% trans competition.title %} - {% trans season.title %} - {% trans division.title %}]{% endblock %} {% block body_class %}{{ block.super }} match{% endblock %} {% block content %} {% block heading %}

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

{% if match.label or not match.is_final %}

{% trans division.title %}{% if match.label %} - {% trans match.label %}{% elif match.round is not None %} - {% blocktrans with num=match.round %}Round {{ num }}{% endblocktrans %}{% endif %}

{% endif %} {% endblock %} {% block live %} {% comment %} While the match is played: its live score and events. A template that overrides this page places them with this block, or includes match_live.html inside an element like this one. {% endcomment %} {% if in_progress %}
{% include "tournamentcontrol/competition/match_live.html" %}
{% if live_url %}{% endif %} {% endif %} {% endblock %} {% with home=match.get_home_team away=match.get_away_team %} {% block head-to-head %} {% if match.statistics.count %} {% statistics match %} {% else %} {% preview match %} {% endif %}
{% url application.name|add:":team" competition=competition.slug season=season.slug division=division.slug team=home.slug as url1 %} {% url application.name|add:":team" season=season.slug division=division.slug team=home.slug as url2 %} {% url application.name|add:":team" division=division.slug team=home.slug as url3 %} {% trans home.title %} {% url application.name|add:":team" competition=competition.slug season=season.slug division=division.slug team=away.slug as url1 %} {% url application.name|add:":team" season=season.slug division=division.slug team=away.slug as url2 %} {% url application.name|add:":team" division=division.slug team=away.slug as url3 %} {% trans away.title %}
{{ match.home_team_score|default_if_none:"" }} {{ match.away_team_score|default_if_none:"" }}
{% endblock %} {% endwith %} {% endblock %}