We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f6f44 commit 14023caCopy full SHA for 14023ca
webapp/src/Service/ScoreboardService.php
@@ -779,6 +779,7 @@ public function getGroupedAffiliations(Contest $contest): array
779
$affiliations[$teamaffil->getName()] = [
780
'id' => $teamaffil->getExternalid(),
781
'name' => $teamaffil->getName(),
782
+ 'country' => $teamaffil->getCountry(),
783
];
784
}
785
webapp/templates/partials/scoreboard.html.twig
@@ -68,6 +68,9 @@
68
<ul class="list-group list-group-flush">
69
{% for affiliation in affiliations %}
70
<li class="list-group-item">
71
+ {% if showFlags %}
72
+ {{ affiliation.country|countryFlag }}
73
+ {% endif %}
74
{% set affiliationLogo = affiliation.id | assetPath('affiliation') %}
75
{% if affiliationLogo %}
76
<img loading="lazy" class="affiliation-logo"
0 commit comments