You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
padelclub_backend/tournaments/templates/tournaments/tournament_row.html

43 lines
2.1 KiB

<a href="{% url 'tournament' tournament.id %}">
<div class="table-row-4-colums-tournament vertical-padding">
<div class="tight table-cell">
<div class="large">{{ tournament.level }}</div>
<div class="small">{{ tournament.category }}</div>
{% if tournament.age %}
<div class="small">{{ tournament.age }}</div>
{% endif %}
</div>
<div class="table-cell-responsive-large table-cell-large horizontal-padding semibold">
<div><span>{{ tournament.event.club.name }}</span></div>
{% if tournament.name_and_event %}
<div>
<span>{{ tournament.name_and_event }}</span>
</div>
{% endif %}
</div>
<div class="table-cell-responsive-short table-cell-large horizontal-padding semibold">
<div><span>{{ tournament.event.club.computedShortTitle }}</span></div>
{% if tournament.event.name %}
<div><span>{{ tournament.event.name }}</span></div>
{% endif %}
{% if tournament.name %}
<div><span>{{ tournament.name }}</span></div>
{% endif %}
</div>
{% if tournament.tournament_status_display %}
<div class="table-cell-responsive-large right horizontal-padding">
{{ tournament.tournament_status_display|linebreaksbr }}
</div>
{% endif %}
<div class="table-cell">
<div class="mybox center">{{ tournament.formatted_start_date }}</div>
{% if tournament.tournament_status_display %}
<div class="table-cell-responsive-short small center">{{ tournament.tournament_status_display|linebreaksbr }}</div>
{% endif %}
</div>
</div>
</a>
{% if not forloop.last %}
<hr/>
{% endif %}