|
162 | 162 | {% set previousTeam = score.team %} |
163 | 163 | </td> |
164 | 164 | {% endif %} |
165 | | - <td class="scoreaf"> |
| 165 | + {% if color is null %} |
| 166 | + {% set color = "#FFFFFF" %} |
| 167 | + {% set colorClass = "_FFFFFF" %} |
| 168 | + {% else %} |
| 169 | + {% set colorClass = color | replace({"#": "_"}) %} |
| 170 | + {% set backgroundColors = backgroundColors | merge({(color): 1}) %} |
| 171 | + {% endif %} |
| 172 | + <td class="scoreaf cl{{ colorClass }}"> |
166 | 173 | {% if showFlags %} |
167 | 174 | {% if score.team.affiliation %} |
168 | 175 | {% set link = null %} |
|
176 | 183 | {% endif %} |
177 | 184 | </td> |
178 | 185 | {% if showAffiliationLogos %} |
179 | | - <td class="scoreaf"> |
| 186 | + <td class="scoreaf cl{{ colorClass }}"> |
180 | 187 | {% if score.team.affiliation %} |
181 | 188 | {% set link = null %} |
182 | 189 | {% if jury %} |
|
197 | 204 | </td> |
198 | 205 | {% endif %} |
199 | 206 | {% if public %} |
200 | | - <td class="scoreaf heart"></td> |
201 | | - {% endif %} |
202 | | - {% if color is null %} |
203 | | - {% set color = "#FFFFFF" %} |
204 | | - {% set colorClass = "_FFFFFF" %} |
205 | | - {% else %} |
206 | | - {% set colorClass = color | replace({"#": "_"}) %} |
207 | | - {% set backgroundColors = backgroundColors | merge({(color): 1}) %} |
| 207 | + <td class="scoreaf heart cl{{ colorClass }}"></td> |
208 | 208 | {% endif %} |
209 | 209 | <td class="scoretn cl{{ colorClass }}" title="{{ score.team.effectiveName }}"> |
210 | 210 | {% set link = null %} |
|
411 | 411 | {% endif %} |
412 | 412 | </td> |
413 | 413 | {% endif %} |
414 | | - <td class="scoreaf"> |
| 414 | + {% if color is null %} |
| 415 | + {% set color = "#FFFFFF" %} |
| 416 | + {% set colorClass = "_FFFFFF" %} |
| 417 | + {% else %} |
| 418 | + {% set colorClass = color | replace({"#": "_"}) %} |
| 419 | + {% endif %} |
| 420 | + <td class="scoreaf cl{{ colorClass }}"> |
415 | 421 | {% if showFlags %} |
416 | 422 | {% if score.team.affiliation %} |
417 | 423 | {% set link = null %} |
|
425 | 431 | {% endif %} |
426 | 432 | </td> |
427 | 433 | {% if showAffiliationLogos %} |
428 | | - <td class="scoreaf"> |
| 434 | + <td class="scoreaf cl{{ colorClass }}"> |
429 | 435 | {% if score.team.affiliation %} |
430 | 436 | {% set link = null %} |
431 | 437 | {% if jury %} |
|
446 | 452 | </td> |
447 | 453 | {% endif %} |
448 | 454 | {% if public %} |
449 | | - <td class="scoreaf heart"></td> |
450 | | - {% endif %} |
451 | | - {% if color is null %} |
452 | | - {% set color = "#FFFFFF" %} |
453 | | - {% set colorClass = "_FFFFFF" %} |
454 | | - {% else %} |
455 | | - {% set colorClass = color | replace({"#": "_"}) %} |
| 455 | + <td class="scoreaf heart cl{{ colorClass }}"></td> |
456 | 456 | {% endif %} |
457 | 457 | <td class="scoretn cl{{ colorClass }}" title="{{ score.team.effectiveName }}"> |
458 | 458 | {% set link = null %} |
|
0 commit comments