fix my tournaments

sync_v2
Raz 7 months ago
parent 3d7ab2d371
commit 4b7882cae7
  1. 21
      tournaments/templates/registration/my_tournaments.html

@ -23,30 +23,29 @@
{% endif %}
</div>
</div>
<div class="cell large-offset-1 medium-10 large-5 topblock my-block">
<div>
<label class="title">Vos tournois terminés</label>
{% if ended_tournaments %}
{% for tournament in ended_tournaments %}
<label class="title">Vos tournois à venir</label>
{% if upcoming_tournaments %}
{% for tournament in upcoming_tournaments %}
{% include 'tournaments/tournament_row.html' %}
{% endfor %}
{% else %}
Aucun tournoi terminé
Aucun tournoi à venir
{% endif %}
</div>
</div>
<div class="cell medium-10 large-5 topblock my-block">
<div class="cell large-offset-1 medium-10 large-5 topblock my-block">
<div>
<label class="title">Vos tournois à venir</label>
{% if upcoming_tournaments %}
{% for tournament in upcoming_tournaments %}
<label class="title">Vos tournois terminés</label>
{% if ended_tournaments %}
{% for tournament in ended_tournaments %}
{% include 'tournaments/tournament_row.html' %}
{% endfor %}
{% else %}
Aucun tournoi à venir
Aucun tournoi terminé
{% endif %}
</div>
</div>

Loading…
Cancel
Save