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.
45 lines
1.9 KiB
45 lines
1.9 KiB
{% load static %}
|
|
|
|
<div class="table-row-3-colums-teams">
|
|
{% if team.wildcard_bracket %}
|
|
<div class="table-cell table-cell-large semibold">WC Tableau</div>
|
|
{% elif team.wildcard_groupstage %}
|
|
<div class="table-cell table-cell-large semibold">WC Qualifications</div>
|
|
{% endif %}
|
|
{% if team.names %}
|
|
<div class="table-cell table-cell-large semibold">
|
|
{% if team.team_registration.id %}
|
|
<a href="{% url 'team-details' tournament.id team.team_registration.id %}" class="player-link"> <!-- Add this anchor tag -->
|
|
{% endif %}
|
|
|
|
{% for name in team.names %}
|
|
<div>{{ name }}</div>
|
|
{% endfor %}
|
|
|
|
{% if team.team_registration.id %}
|
|
</a>
|
|
{% endif %}
|
|
|
|
</div>
|
|
{% else %}
|
|
<div class="table-cell table-cell-large semibold">
|
|
<div>Bloqué</div>
|
|
</div>
|
|
{% endif %}
|
|
{% if tournament.hide_teams_weight %}
|
|
<div class="table-cell right horizontal-padding"></div>
|
|
{% elif tournament.hide_weight %}
|
|
<div class="table-cell right horizontal-padding"></div>
|
|
{% elif not team.wildcard_bracket and not team.wildcard_groupstage and team.weight %}
|
|
<div class="table-cell right horizontal-padding large numbers">{{ team.weight }}</div>
|
|
{% elif team.names and team.weight %}
|
|
<div class="table-cell right horizontal-padding large numbers">{{ team.weight }}</div>
|
|
{% else %}
|
|
<div class="table-cell right horizontal-padding large numbers"></div>
|
|
{% endif %}
|
|
<div class="table-cell "><div class="mybox center">{{ team.stage }}</div></div>
|
|
</div>
|
|
|
|
{% if not forloop.last %}
|
|
<hr/>
|
|
{% endif %}
|
|
|