|
|
|
|
@ -113,11 +113,18 @@ class TournamentEmailService: |
|
|
|
|
link_text = f"informations sur {tournament_prefix_that}{tournament_word}" |
|
|
|
|
absolute_url = f'<a href="{absolute_url}">{link_text}</a>' |
|
|
|
|
|
|
|
|
|
if other_player: |
|
|
|
|
body_parts.extend([ |
|
|
|
|
f"\nDate d'inscription: {inscription_date}", |
|
|
|
|
f"\nÉquipe inscrite: {captain.name()} et {other_player.name()}", |
|
|
|
|
f"\nVoir les {absolute_url}" |
|
|
|
|
]) |
|
|
|
|
else: |
|
|
|
|
body_parts.extend([ |
|
|
|
|
f"\nDate d'inscription: {inscription_date}", |
|
|
|
|
f"\nVotre inscription: {captain.name()}", |
|
|
|
|
f"\nVoir les {absolute_url}" |
|
|
|
|
]) |
|
|
|
|
|
|
|
|
|
# Add payment information if applicable |
|
|
|
|
if tournament.should_request_payment(): |
|
|
|
|
|