|
|
|
|
@ -158,11 +158,11 @@ class Match(models.Model): |
|
|
|
|
|
|
|
|
|
# No team scores at all |
|
|
|
|
if previous_top_match: |
|
|
|
|
names = [f"Gagnants du {previous_top_match.computed_name()}", ''] |
|
|
|
|
names = [f"Gagnants {previous_top_match.computed_name()}", ''] |
|
|
|
|
team = self.default_live_team(names) |
|
|
|
|
teams.append(team) |
|
|
|
|
if previous_bottom_match: |
|
|
|
|
names = [f"Gagnants du {previous_bottom_match.computed_name()}", ''] |
|
|
|
|
names = [f"Gagnants {previous_bottom_match.computed_name()}", ''] |
|
|
|
|
team = self.default_live_team(names) |
|
|
|
|
teams.append(team) |
|
|
|
|
elif len(team_scores) == 1: |
|
|
|
|
@ -174,12 +174,12 @@ class Match(models.Model): |
|
|
|
|
teams.append(existing_team) |
|
|
|
|
else: |
|
|
|
|
if previous_top_match and previous_top_match.disabled == False and previous_top_match.end_date is None: |
|
|
|
|
names = [f"Gagnants du {previous_top_match.computed_name()}", ''] |
|
|
|
|
names = [f"Gagnants {previous_top_match.computed_name()}", ''] |
|
|
|
|
team = self.default_live_team(names) |
|
|
|
|
teams.append(team) |
|
|
|
|
teams.append(existing_team) |
|
|
|
|
elif previous_bottom_match: |
|
|
|
|
names = [f"Gagnants du {previous_bottom_match.computed_name()}", ''] |
|
|
|
|
names = [f"Gagnants {previous_bottom_match.computed_name()}", ''] |
|
|
|
|
team = self.default_live_team(names) |
|
|
|
|
teams.append(existing_team) |
|
|
|
|
teams.append(team) |
|
|
|
|
|