You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
{% extends 'tournaments/base.html' %}
|
|
|
|
{% block head_title %}Matchs{% endblock %}
|
|
{% block first_title %}{{ tournament.event.display_name }}{% endblock %}
|
|
{% block second_title %}{{ tournament.display_name }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% include 'tournaments/navigation_tournament.html' %}
|
|
|
|
{% if rounds or group_stages %}
|
|
<nav class="margin10">
|
|
<a href="{% url 'tournament' tournament.id %}" class="mybox topmargin5">Tous les matchs</a>
|
|
{% for group_stage in group_stages %}
|
|
<a href="{% url 'tournament' tournament.id %}?group_stage={{ group_stage.id }}" class="mybox topmargin5">{{ group_stage.name }}</a>
|
|
{% endfor %}
|
|
{% for round in rounds %}
|
|
<a href="{% url 'tournament' tournament.id %}?round={{ round.id }}" class="mybox topmargin5">{{ round.name }}</a>
|
|
{% endfor %}
|
|
</nav>
|
|
{% endif %}
|
|
|
|
{% for match_group in match_groups %}
|
|
|
|
{% if match_group.matches %}
|
|
|
|
<h1 class="club my-block topmargin20">{{ match_group.name }}</h1>
|
|
|
|
<div class="grid-x">
|
|
{% for match in match_group.matches %}
|
|
{% include 'tournaments/match_cell.html' %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
|
|