fix wc display

tz
Raz 1 year ago
parent cac62289b9
commit 07fbaab07c
  1. 5
      tournaments/templates/tournaments/team_row.html

@ -5,7 +5,8 @@
<div class="table-cell table-cell-large semibold">WC Tableau</div> <div class="table-cell table-cell-large semibold">WC Tableau</div>
{% elif team.wildcard_groupstage %} {% elif team.wildcard_groupstage %}
<div class="table-cell table-cell-large semibold">WC Qualifications</div> <div class="table-cell table-cell-large semibold">WC Qualifications</div>
{% else %} {% endif %}
{% if team.names %}
<div class="table-cell table-cell-large semibold"> <div class="table-cell table-cell-large semibold">
{% for name in team.names %} {% for name in team.names %}
<div>{{ name }}</div> <div>{{ name }}</div>
@ -18,6 +19,8 @@
<div class="table-cell right horizontal-padding"></div> <div class="table-cell right horizontal-padding"></div>
{% elif not team.wildcard_bracket and not team.wildcard_groupstage %} {% elif not team.wildcard_bracket and not team.wildcard_groupstage %}
<div class="table-cell right horizontal-padding large numbers">{{ team.weight }}</div> <div class="table-cell right horizontal-padding large numbers">{{ team.weight }}</div>
{% elif team.names %}
<div class="table-cell right horizontal-padding large numbers">{{ team.weight }}</div>
{% else %} {% else %}
<div class="table-cell right horizontal-padding large numbers"></div> <div class="table-cell right horizontal-padding large numbers"></div>
{% endif %} {% endif %}

Loading…
Cancel
Save