Skip to content

Commit 21de969

Browse files
Move colgroups to correct position
1 parent 0274beb commit 21de969

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

webapp/templates/partials/scoreboard_table.html.twig

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
3131
<table class="d-none d-md-table scoreboard center {% if jury %}scoreboard_jury{% endif %}">
3232
33+
{% set teamColspan = 2 %}
34+
{% if showAffiliationLogos %}
35+
{% set teamColspan = teamColspan + 1 %}
36+
{% endif %}
37+
38+
<thead>
3339
{# output table column groups (for the styles) #}
3440
<colgroup>
3541
{% if enable_ranking %}
@@ -58,13 +64,6 @@
5864
{% endfor %}
5965
{% endif %}
6066
</colgroup>
61-
62-
{% set teamColspan = 2 %}
63-
{% if showAffiliationLogos %}
64-
{% set teamColspan = teamColspan + 1 %}
65-
{% endif %}
66-
67-
<thead>
6867
<tr class="scoreheader" data-static="{{ static }}">
6968
{% if enable_ranking %}
7069
<th title="rank" scope="col">rank</th>

0 commit comments

Comments
 (0)