{% extends "base.html" %} {% block main %}
Matches vom Turnier {{ tournament.name }}

{% for match in matches %} {% endfor %}
Status Geplant am Teilnehmer
{% if match.status == 'completed' %} Abgeschlossen {% else %} Anstehend {% endif %} {% if match.scheduled_datetime %} {{ match.scheduled_datetime.strftime('%Y-%m-%d') }} {% else %} N/V {% endif %} {{ match.opponents[0].participant.name }}
{{ match.opponents[1].participant.name }}
{% endblock %}