Compare commits
2 Commits
main
...
redesign-t
| Author | SHA1 | Date |
|---|---|---|
|
|
dba062d2d1 | 8 months ago |
|
|
3205a1400e | 8 months ago |
@ -1,43 +1,36 @@ |
|||||||
<a href="{% url 'tournament' tournament.id %}"> |
<a href="{% url 'tournament' tournament.id %}"> |
||||||
<div class="table-row-4-colums-tournament vertical-padding"> |
<div class="table-row-6-colums-tournament"> |
||||||
<div class="tight table-cell"> |
<div class="tight table-cell tournament-level-cell"> |
||||||
<div class="large">{{ tournament.level }}</div> |
<div class="large level-display">{{ tournament.level }}</div> |
||||||
<div class="small">{{ tournament.category }}</div> |
<div class="small category-display">{{ tournament.category }}</div> |
||||||
{% if tournament.age %} |
{% if tournament.age %} |
||||||
<div class="small">{{ tournament.age }}</div> |
<div class="small age-display">{{ tournament.age }}</div> |
||||||
{% endif %} |
{% endif %} |
||||||
</div> |
</div> |
||||||
<div class="table-cell-responsive-large table-cell-large horizontal-padding semibold"> |
<div class="table-cell"> |
||||||
<div><span>{{ tournament.event.club.name }}</span></div> |
<div class="large">{{ tournament.event.club.name }}</div> |
||||||
{% if tournament.name_and_event %} |
{% if tournament.name_and_event %} |
||||||
<div> |
<div class="small">{{ tournament.name_and_event }}</div> |
||||||
<span>{{ tournament.name_and_event }}</span> |
|
||||||
</div> |
|
||||||
{% endif %} |
{% endif %} |
||||||
</div> |
</div> |
||||||
<div class="table-cell-responsive-short table-cell-large horizontal-padding semibold"> |
<div class="table-cell"> |
||||||
<div><span>{{ tournament.event.club.computedShortTitle }}</span></div> |
<div class="small">Équipes</div> |
||||||
{% if tournament.event.name %} |
<div class="large">{{ tournament.tournament_status_display }}</div> |
||||||
<div><span>{{ tournament.event.name }}</span></div> |
|
||||||
{% endif %} |
|
||||||
{% if tournament.name %} |
|
||||||
<div><span>{{ tournament.name }}</span></div> |
|
||||||
{% endif %} |
|
||||||
</div> |
</div> |
||||||
|
<div class="table-cell"> |
||||||
{% if tournament.tournament_status_display %} |
<div class="small">Durée</div> |
||||||
<div class="table-cell-responsive-large right horizontal-padding"> |
<div class="large">{{ tournament.day_duration }} j.</div> |
||||||
{{ tournament.tournament_status_display|linebreaksbr }} |
|
||||||
</div> |
</div> |
||||||
{% endif %} |
|
||||||
<div class="table-cell"> |
<div class="table-cell"> |
||||||
<div class="mybox center">{{ tournament.formatted_start_date }}</div> |
<div class="mybox center">{{ tournament.formatted_start_date_short|linebreaksbr }}</div> |
||||||
{% if tournament.tournament_status_display %} |
|
||||||
<div class="table-cell-responsive-short small center">{{ tournament.tournament_status_display|linebreaksbr }}</div> |
|
||||||
{% endif %} |
|
||||||
</div> |
</div> |
||||||
|
{% if register_status %} |
||||||
|
<div class="table-cell"> |
||||||
|
<div class="mybox center" style="background-color:{{ register_status.1 }}; color:{{ register_status.2 }}">{{ register_status.0|linebreaksbr }}</div> |
||||||
</div> |
</div> |
||||||
</a> |
|
||||||
{% if not forloop.last %} |
|
||||||
<hr/> |
|
||||||
{% endif %} |
{% endif %} |
||||||
|
</div> |
||||||
|
</a> |
||||||
|
{% if not forloop.last %} |
||||||
|
<hr/> |
||||||
|
{% endif %} |
||||||
|
|||||||
Loading…
Reference in new issue