1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 17:00:34 +02:00

Split 5-teams pols in two pools for each room

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-18 14:53:58 +02:00
parent 059cae75c5
commit 266afaf5c9
9 changed files with 337 additions and 238 deletions

View File

@ -91,7 +91,7 @@ class PoolTable(tables.Table):
)
def render_letter(self, record):
return format_lazy(_("Pool {letter}{round}"), letter=record.get_letter_display(), round=record.round)
return format_lazy(_("Pool {code}"), code=record.short_name)
def render_teams(self, record):
return ", ".join(participation.team.trigram for participation in record.participations.all()) \