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

Loading…
Cancel
Save