mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 16:17:24 +02:00
Better pool view for 5-teams pools
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -1420,8 +1420,8 @@ class Pool(models.Model):
|
||||
note.save()
|
||||
|
||||
def __str__(self):
|
||||
return _("Pool of day {round} for tournament {tournament} with teams {teams}")\
|
||||
.format(round=self.round,
|
||||
return _("Pool {code} for tournament {tournament} with teams {teams}")\
|
||||
.format(code=self.short_name,
|
||||
tournament=str(self.tournament),
|
||||
teams=", ".join(participation.team.trigram for participation in self.participations.all()))
|
||||
|
||||
|
Reference in New Issue
Block a user