1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-22 23:18:28 +02:00

Prepare mails for payment confirmations and reminders

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-02-22 18:43:18 +01:00
parent bc535f4075
commit 6a928ee35b
5 changed files with 301 additions and 16 deletions

View File

@ -0,0 +1,48 @@
{% load i18n %}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<p>
{% trans "Hi" %} {{ user.registration }},
</p>
<p>
{% blocktrans trimmed with amount=payment.amount team=payment.team.trigram %}
We successfully received the payment of {{ amount }} € for the TFJM² registration in the team {{ team }}!
{% endblocktrans %}
</p>
<p>
{% trans "Your registration is now fully completed, and you can work on your solutions." %}
{% trans "Be sure first that other members of your team also pay their registration." %}
</p>
<p>
{% trans "As a reminder, here are the following important dates:" %}
<ul>
<li>{% trans "Deadline to send the solutions:" %} {{ payment.tournament.solution_limit|date }}</li>
<li>{% trans "Problems draw:" %} {{ payment.tournament.solutions_draw|date }}</li>
<li>{% trans "Tournament dates:" %} {% trans "From" %} {{ payment.tournament.start|date }} {% trans "to" %} {{ payment.tournament.end|date }}</li>
</ul>
</p>
<p>
{% trans "Please note that these dates may be subject to change. If your local organizers gave you different dates, trust them." %}
</p>
<p>
{% trans "NB: This mail don't represent a payment receipt. The payer should receive a mail from Hello Asso. If it is not the case, please contact us if necessary" %}
</p>
--
<p>
{% trans "The TFJM² team." %}<br>
</p>
</body>
</html>