File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
webapp/templates/partials Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
{% if limitToTeamIds is null %}
2
2
{% if showTeamSubmissions or jury %}
3
3
<tr style =" border-top: 2px solid black;" >
4
- {% set summaryColspan = 3 %}
4
+ {% set summaryColspan = 2 %}
5
5
{% if showAffiliationLogos %}
6
6
{% set summaryColspan = summaryColspan + 1 %}
7
7
{% endif %}
8
- {% if not enable_ranking %}
9
- {% set summaryColspan = summaryColspan - 1 %}
8
+ {% if enable_ranking %}
9
+ {% set summaryColspan = summaryColspan + 1 %}
10
+ {% if medalsEnabled %}
11
+ {% set summaryColspan = summaryColspan + 1 %}
12
+ {% endif %}
10
13
{% endif %}
11
14
<td class =" scoresummary" title =" Summary" colspan =" {{ summaryColspan }}" >Summary</td >
12
15
{% if enable_ranking %}
Original file line number Diff line number Diff line change 38
38
{# output table column groups (for the styles) #}
39
39
<colgroup >
40
40
{% if enable_ranking %}
41
+ {% if medalsEnabled %}
42
+ <col id="scorerank"/>
43
+ {% endif %}
41
44
<col id="scorerank"/>
42
45
{% endif %}
43
46
{% if showFlags %}
66
69
<thead >
67
70
<tr class="scoreheader" data-static ="{{ static }}">
68
71
{% if enable_ranking %}
69
- <th title="rank" scope="col"> rank</th >
72
+ <th title="rank" scope="col" {% if medalsEnabled %}colspan="2"{% endif %} > rank</th >
70
73
{% endif %}
71
74
<th title="team name" scope="col" colspan="{{ teamColspan }}"> team</th >
72
75
{% if enable_ranking %}
135
138
{% endif %}
136
139
<tr class="{{ classes | join(' ' ) }}" data-team-id ="{{ score .team .teamid }}">
137
140
{% if enable_ranking %}
141
+ {% if medalsEnabled %}
142
+ <td class="no-border ">
143
+ {% if medalColor != ' ' %}
144
+ <i class="fa fa-medal {{medalColor }}" style="font-size : 1.5rem;"> </i >
145
+ {% endif %}
146
+ </td >
147
+ {% endif %}
138
148
<td class="scorepl">
139
- {% if medalColor != ' ' %}
140
- <i class="fa fa-medal {{medalColor }}" style="font-size : 1.5rem;"> </i >
141
- {% endif %}
142
149
{# Only print rank when score is different from the previous team #}
143
150
{% if not displayRank %}
144
151
?
You can’t perform that action at this time.
0 commit comments