|
|
|
@ -135,10 +135,15 @@ class PlayerRegistration(TournamentSubModel): |
|
|
|
|
|
|
|
|
|
|
|
tournament = self.team_registration.tournament |
|
|
|
tournament = self.team_registration.tournament |
|
|
|
tournament_status_team_count = tournament.get_tournament_status_team_count() |
|
|
|
tournament_status_team_count = tournament.get_tournament_status_team_count() |
|
|
|
|
|
|
|
# If custom animation type, replace header by "Inscriptions" |
|
|
|
|
|
|
|
if tournament.is_custom_animation(): |
|
|
|
|
|
|
|
header = "Inscriptions" |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
header = "Équipes" |
|
|
|
|
|
|
|
|
|
|
|
if tournament.is_canceled(): |
|
|
|
if tournament.is_canceled(): |
|
|
|
return { |
|
|
|
return { |
|
|
|
'header': "Équipes", |
|
|
|
'header': header, |
|
|
|
'position': tournament_status_team_count, |
|
|
|
'position': tournament_status_team_count, |
|
|
|
'display_box': True, |
|
|
|
'display_box': True, |
|
|
|
'box_class': 'light-red', |
|
|
|
'box_class': 'light-red', |
|
|
|
@ -146,7 +151,7 @@ class PlayerRegistration(TournamentSubModel): |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
status = { |
|
|
|
status = { |
|
|
|
'header': "Équipes", |
|
|
|
'header': header, |
|
|
|
'position': tournament_status_team_count, |
|
|
|
'position': tournament_status_team_count, |
|
|
|
'display_box': True, |
|
|
|
'display_box': True, |
|
|
|
'box_class': 'gray', |
|
|
|
'box_class': 'gray', |
|
|
|
|