Skip to content

Commit 95deac3

Browse files
Allow problem badges to go below country flag and affiliation logo
1 parent 38447d5 commit 95deac3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

webapp/templates/partials/scoreboard_table.html.twig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,12 @@
479479
{% endif %}
480480
</tr>
481481
<tr style="height: 32px;">
482-
<td class="no-border"/>
483-
<td colspan="2">
482+
{% if showAffiliationLogos %}
483+
{% set problemSpan = 3 %}
484+
{% else %}
485+
{% set problemSpan = 2 %}
486+
{% endif %}
487+
<td colspan="{{ problemSpan }}">
484488
{% for problem in problems %}
485489
{% set matrixItem = scoreboard.matrix[score.team.teamid][problem.probid] %}
486490
{{ problem | problemBadgeMaybe(matrixItem) }}

0 commit comments

Comments
 (0)