File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed
webapp/templates/partials Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change 390
390
{% endif %}
391
391
<tr class="{{ classes | join(' ' ) }}" data-team-id ="{{ score .team .teamid }}" style="border-bottom-width : 0; height: 28px;">
392
392
{% if enable_ranking %}
393
- <td class="scorepl {{medalColor }}" rowspan="2">
394
- {# Only print rank when score is different from the previous team #}
395
- {% if not displayRank %}
396
- ?
397
- {% elseif previousTeam is null or scoreboard .scores [previousTeam .teamid ].rank != score .rank %}
398
- {{ score .rank }}
399
- {% else %}
393
+ <td class="scorepl">
394
+ {% if medalsEnabled and medalColor != ' ' %}
395
+ <i class="fa fa-medal {{medalColor }} d-block me-2 " style="font-size : 1.5rem;"> </i >
400
396
{% endif %}
401
- {% set previousTeam = score .team %}
402
397
</td >
403
398
{% endif %}
404
399
<td class="scoreaf">
486
481
{% endif %}
487
482
</tr >
488
483
<tr style="height: 32px;">
484
+ <td >
485
+ {# Only print rank when score is different from the previous team #}
486
+ <span class="d-block me-2 ">
487
+ {% if not displayRank %}
488
+ ?
489
+ {% elseif previousTeam is null or scoreboard .scores [previousTeam .teamid ].rank != score .rank %}
490
+ {{ score .rank }}
491
+ {% else %}
492
+ {% endif %}
493
+ </span >
494
+ {% set previousTeam = score .team %}
495
+ </td >
489
496
{% if showAffiliationLogos %}
490
497
{% set problemSpan = 3 %}
491
498
{% else %}
You can’t perform that action at this time.
0 commit comments