|
|
|
@ -16,14 +16,15 @@ |
|
|
|
<div class="match-result {% cycle 'bottom-border' '' %}"> |
|
|
|
<div class="match-result {% cycle 'bottom-border' '' %}"> |
|
|
|
<div class="player"> |
|
|
|
<div class="player"> |
|
|
|
{% if team.id %} |
|
|
|
{% if team.id %} |
|
|
|
<a href="{% url 'team-details' tournament.id team.id %}" class="player-link"> <!-- Add this anchor tag --> |
|
|
|
<a href="{% url 'team-details' tournament.id team.id %}" class="player-link"> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if team.is_lucky_loser %} |
|
|
|
{% if team.is_lucky_loser or team.walk_out == 1 %} |
|
|
|
<div class="small">Repêché</div> |
|
|
|
<div class="overlay-text"> |
|
|
|
{% elif team.walk_out == 1 %} |
|
|
|
{% if team.is_lucky_loser %}(LL){% elif team.walk_out == 1 %}(WO){% endif %} |
|
|
|
<div class="small">Forfait</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% for name in team.names %} |
|
|
|
{% for name in team.names %} |
|
|
|
<div class="semibold{% if team.walk_out == 1 %} strikethrough{% endif %}{% if team.is_winner %} winner{% endif %}"> |
|
|
|
<div class="semibold{% if team.walk_out == 1 %} strikethrough{% endif %}{% if team.is_winner %} winner{% endif %}"> |
|
|
|
{% if name|length > 0 %} |
|
|
|
{% if name|length > 0 %} |
|
|
|
@ -61,19 +62,20 @@ |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="status-container {% if not match.ended and match.started %}running{% endif %}"> |
|
|
|
<div class="flex-row top-margin"> |
|
|
|
<div class="flex-row top-margin"> |
|
|
|
<label class="left-label minor-info bold"> |
|
|
|
<label class="left-label minor-info bold"> |
|
|
|
{% if match.show_time_indication %} |
|
|
|
{% if match.show_time_indication %} |
|
|
|
{{ match.time_indication }} |
|
|
|
{{ match.time_indication }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
<label class="right-label minor-info"> |
|
|
|
<label class="right-label minor-info"> |
|
|
|
{% if not match.ended %} |
|
|
|
{% if not match.ended %} |
|
|
|
{{ match.format }} |
|
|
|
{{ match.format }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
<!-- <a href="" class="right-label">{{ match.court }}</a> --> |
|
|
|
<!-- <a href="" class="right-label">{{ match.court }}</a> --> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|