|
|
|
|
@ -17,16 +17,11 @@ |
|
|
|
|
{% for team in match.teams %} |
|
|
|
|
<div class="match-result {% cycle 'bottom-border' '' %}"> |
|
|
|
|
<div class="player {% if team.names|length == 1 %}single-player{% else %}two-players{% endif %}"> |
|
|
|
|
<div class="player-flex-row"> |
|
|
|
|
{% if team.id %} |
|
|
|
|
<a href="{% url 'team-details' tournament.id team.id %}" class="player-link"> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if team.is_lucky_loser or team.walk_out == 1 %} |
|
|
|
|
<div class="overlay-text"> |
|
|
|
|
{% if match.should_show_lucky_loser_status and team.is_lucky_loser %}(LL){% elif team.walk_out == 1 %}(WO){% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
{% for name in team.names %} |
|
|
|
|
<div class="semibold{% if team.walk_out == 1 %} strikethrough{% endif %}{% if team.is_winner %} winner{% endif %}"> |
|
|
|
|
{% if name|length > 0 %} |
|
|
|
|
@ -36,9 +31,17 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
{% if team.id %} |
|
|
|
|
</div> |
|
|
|
|
{% if team.id and team.weight %} |
|
|
|
|
</a> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if team.is_lucky_loser or team.walk_out == 1 %} |
|
|
|
|
<div class="minor-info bold" style="height: 100%; padding-right: 20px;"> |
|
|
|
|
{% if match.should_show_lucky_loser_status and team.is_lucky_loser %}(LL){% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if match.has_walk_out %} |
|
|
|
|
|