new style list of tournaments

sync_v2
Raz 7 months ago
parent cea1276369
commit 3d7ab2d371
  1. 28
      tournaments/templates/registration/my_tournaments.html
  2. 2
      tournaments/templates/tournaments/tournaments.html

@ -11,18 +11,6 @@
{% load tz %} {% load tz %}
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-10 large-5 topblock my-block">
<div>
<label class="title">Vos tournois à venir</label>
{% if upcoming_tournaments %}
{% for tournament in upcoming_tournaments %}
{% include 'tournaments/tournament_row.html' %}
{% endfor %}
{% else %}
Aucun tournoi à venir
{% endif %}
</div>
</div>
<div class="cell medium-10 large-5 topblock my-block"> <div class="cell medium-10 large-5 topblock my-block">
<div> <div>
<label class="title">Vos tournois en cours</label> <label class="title">Vos tournois en cours</label>
@ -36,7 +24,8 @@
</div> </div>
</div> </div>
<div class="cell medium-offset-2 large-offset-1 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 terminés</label> <label class="title">Vos tournois terminés</label>
{% if ended_tournaments %} {% if ended_tournaments %}
@ -48,4 +37,17 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
<div class="cell medium-10 large-5 topblock my-block">
<div>
<label class="title">Vos tournois à venir</label>
{% if upcoming_tournaments %}
{% for tournament in upcoming_tournaments %}
{% include 'tournaments/tournament_row.html' %}
{% endfor %}
{% else %}
Aucun tournoi à venir
{% endif %}
</div>
</div>
{% endblock %} {% endblock %}

@ -73,7 +73,7 @@
{% endif %} {% endif %}
{% if ended %} {% if ended %}
<div class="cell medium-offset-2 large-offset-1 medium-10 large-5 topblock my-block"> <div class="cell large-offset-1 medium-10 large-5 topblock my-block">
<div> <div>
<div class="table-row-5-colums-tournament header"> <div class="table-row-5-colums-tournament header">

Loading…
Cancel
Save