<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <title>Team validated – ETEAM</title>
</head>
<body>
<p>
    Hello {{ registration }},
</p>
<p>
    Congratulations! Your team "{{ team.name }}" ({{ team.trigram }}) is now validated! You are now ready to
    to work on your problems. You can then upload your solutions to the platform.
</p>

{% if payment %}
    <p>
        You must now pay your participation fee of € {{ payment.amount }}.
        You can pay by credit card or bank transfer. You'll find information
        on the payment page which you can find on
        <a href="https://{{ domain }}{% url 'registration:my_account_detail' %}">your account</a>.
        If you have a scholarship, registration is free, but you must submit a justification on the same page.
    </p>
{% elif registration.is_coach and team.participation.tournament.price %}
    <p>
        Your team must now pay a participation fee of {{ team.participation.tournament.price }} € per student (supervisors are exempt). Students with scholarships are exempt⋅es from these fees.
        You can track the status of payments on 
        <a href="https://{{ domain }}{% url 'participation:team_detail' pk=team.pk %}">your team page</a>.
    </p>
{% endif %}

{% if message %}
    <p>
        The organisers send you this message:
    </p>
    <p>
        {{ message }}
    </p>
{% endif %}

<p>
    The ETEAM team
</p>
</body>
</html>
