|
|
|
|
@ -13,25 +13,35 @@ |
|
|
|
|
<div class="grid-x"> |
|
|
|
|
<div class="cell medium-10 large-5 topblock padding10"> |
|
|
|
|
<div> |
|
|
|
|
<label class="title">Vos tournois en cours</label> |
|
|
|
|
<div class="table-row-5-colums-tournament header"> |
|
|
|
|
<label class="title">Vos tournois en cours</label> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if running_tournaments %} |
|
|
|
|
{% for tournament in running_tournaments %} |
|
|
|
|
{% include 'tournaments/tournament_row.html' %} |
|
|
|
|
{% endfor %} |
|
|
|
|
{% for tournament in running_tournaments %} |
|
|
|
|
{% include 'tournaments/tournament_row.html' %} |
|
|
|
|
{% endfor %} |
|
|
|
|
{% else %} |
|
|
|
|
Aucun tournoi en cours |
|
|
|
|
<div> |
|
|
|
|
Aucun tournoi en cours |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
<label class="title">Vos tournois à venir</label> |
|
|
|
|
<div class="table-row-5-colums-tournament header"> |
|
|
|
|
<label class="title">Vos tournois à venir</label> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if upcoming_tournaments %} |
|
|
|
|
{% for tournament in upcoming_tournaments %} |
|
|
|
|
{% include 'tournaments/tournament_row.html' %} |
|
|
|
|
{% endfor %} |
|
|
|
|
{% for tournament in upcoming_tournaments %} |
|
|
|
|
{% include 'tournaments/tournament_row.html' %} |
|
|
|
|
{% endfor %} |
|
|
|
|
{% else %} |
|
|
|
|
Aucun tournoi à venir |
|
|
|
|
<div> |
|
|
|
|
Aucun tournoi à venir |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
@ -39,13 +49,26 @@ |
|
|
|
|
|
|
|
|
|
<div class="cell large-offset-1 medium-10 large-5 topblock padding10"> |
|
|
|
|
<div> |
|
|
|
|
<label class="title">Vos tournois terminés</label> |
|
|
|
|
|
|
|
|
|
<div class="table-row-5-colums-tournament header"> |
|
|
|
|
<label class="title">Vos tournois terminés</label> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if ended_tournaments %} |
|
|
|
|
{% for tournament in ended_tournaments %} |
|
|
|
|
{% include 'tournaments/tournament_row.html' %} |
|
|
|
|
{% endfor %} |
|
|
|
|
{% for tournament in ended_tournaments %} |
|
|
|
|
{% include 'tournaments/tournament_row.html' %} |
|
|
|
|
{% endfor %} |
|
|
|
|
<div class="table-row-5-colums-tournament footer"> |
|
|
|
|
{% if ended_tournaments|length >= 12 %} |
|
|
|
|
<div class="small"> |
|
|
|
|
<a href="{% url 'all-my-ended-tournaments' %}">voir tous vos tournois terminés</a> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
Aucun tournoi terminé |
|
|
|
|
<div> |
|
|
|
|
Aucun tournoi terminé |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|