From 21d4ac9d8d7689f9ae6898e7a1411176708c164f Mon Sep 17 00:00:00 2001 From: - <8612560-rummage471@users.noreply.gitlab.com> Date: Fri, 7 Jun 2024 20:20:36 +0000 Subject: [PATCH] Update 12 files - /registration/templates/registration/mails/final_selection.html - /registration/templates/registration/mails/final_selection.txt - /registration/templates/registration/mails/payment_confirmation.txt - /registration/templates/registration/mails/payment_confirmation.html - /registration/templates/registration/mails/payment_reminder.txt - /registration/templates/registration/mails/payment_reminder.html - /participation/templates/participation/mails/team_not_validated.txt - /participation/templates/participation/mails/team_validated.txt - /participation/templates/participation/mails/team_validated.html - /participation/templates/participation/mails/team_not_validated.html - /participation/templates/participation/mails/request_validation.txt - /participation/templates/participation/mails/request_validation.html --- .../mails/request_validation.html | 14 ++-- .../mails/request_validation.txt | 12 +-- .../mails/team_not_validated.html | 16 ++-- .../mails/team_not_validated.txt | 13 ++-- .../participation/mails/team_validated.html | 29 ++++--- .../participation/mails/team_validated.txt | 24 +++--- .../registration/mails/final_selection.html | 75 ------------------- .../registration/mails/final_selection.txt | 38 ---------- .../mails/payment_confirmation.html | 8 +- .../mails/payment_confirmation.txt | 6 +- .../registration/mails/payment_reminder.html | 4 +- .../registration/mails/payment_reminder.txt | 4 +- 12 files changed, 61 insertions(+), 182 deletions(-) delete mode 100644 registration/templates/registration/mails/final_selection.html delete mode 100644 registration/templates/registration/mails/final_selection.txt diff --git a/participation/templates/participation/mails/request_validation.html b/participation/templates/participation/mails/request_validation.html index cbf75d1..29b96d6 100644 --- a/participation/templates/participation/mails/request_validation.html +++ b/participation/templates/participation/mails/request_validation.html @@ -2,28 +2,28 @@ - Demande de validation - TFJM² + Validation request - ETEAM

-Bonjour, +Hi,

-L'équipe « {{ team.name }} » ({{ team.trigram }}) vient de demander à valider son équipe pour participer -au {{ team.participation.get_problem_display }} du TFJM². -Vous pouvez décider d'accepter ou de refuser l'équipe en vous rendant sur la page de l'équipe : +The team "{{ team.name }}" ({{ team.trigram }}) has just asked to validate his team to take part +in ETEAM. +You can decide whether or not to accept the team by going to the team page: https://{{ domain }}{% url "participation:team_detail" pk=team.pk %}

-Cordialement, +Sincerely yours,

-L'organisation du TFJM² +The ETEAM team

diff --git a/participation/templates/participation/mails/request_validation.txt b/participation/templates/participation/mails/request_validation.txt index d9ff5bf..fe84e37 100644 --- a/participation/templates/participation/mails/request_validation.txt +++ b/participation/templates/participation/mails/request_validation.txt @@ -1,10 +1,10 @@ -Bonjour {{ user }}, +Hi {{ user }}, -L'équipe « {{ team.name }} » ({{ team.trigram }}) vient de demander à valider son équipe pour participer -au {{ team.participation.get_problem_display }} du TFJM². -Vous pouvez décider d'accepter ou de refuser l'équipe en vous rendant sur la page de l'équipe : +The team "{{ team.name }}" ({{ team.trigram }}) has just asked to validate his team to take part +in ETEAM. +You can decide whether or not to accept the team by going to the team page: https://{{ domain }}{% url "participation:team_detail" pk=team.pk %} -Cordialement, +Sincerely yours, -L'organisation du TFJM² +The ETEAM team diff --git a/participation/templates/participation/mails/team_not_validated.html b/participation/templates/participation/mails/team_not_validated.html index 915a003..3697650 100644 --- a/participation/templates/participation/mails/team_not_validated.html +++ b/participation/templates/participation/mails/team_not_validated.html @@ -2,21 +2,21 @@ - Équipe non validée – TFJM² + Team not validated – ETEAM -Bonjour,
+Hi,

-Maleureusement, votre équipe « {{ team.name }} » ({{ team.trigram }}) n'a pas été validée. Veuillez vérifier que vos autorisations -de droit à l'image sont correctes. Les organisateurs vous adressent ce message :
+Unfortunately, your team "{{ team.name }}" ({{ team.trigram }}) has not been validated. +Please check that your authorisations are correctly filled in. +The organisers are sending you this message:

{{ message }}

-N'hésitez pas à nous contacter à l'adresse contact@tfjm.org -pour plus d'informations. +Please contact us at eteam_moc@proton.me if you need further information.
-Cordialement,
+Sincerely yours,

-Le comité d'organisation du TFJM² +The ETEAM team diff --git a/participation/templates/participation/mails/team_not_validated.txt b/participation/templates/participation/mails/team_not_validated.txt index 9479fba..8ed8a4e 100644 --- a/participation/templates/participation/mails/team_not_validated.txt +++ b/participation/templates/participation/mails/team_not_validated.txt @@ -1,12 +1,13 @@ -Bonjour, +Hi, -Maleureusement, votre équipe « {{ team.name }} » ({{ team.trigram }}) n'a pas été validée. Veuillez vérifier que vos -autorisations de droit à l'image sont correctes. Les organisateurs vous adressent ce message : +Unfortunately, your team "{{ team.name }}" ({{ team.trigram }}) has not been validated. +Please check that your authorisations are correctly filled in. +The organisers are sending you this message:
{{ message }} -N'hésitez pas à nous contacter à l'adresse contact@tfjm.org pour plus d'informations. +Please contact us at eteam_moc@proton.me if you need further information. -Cordialement, +Sincerely yours, -Le comité d'organisation du TFJM² +The ETEAM team diff --git a/participation/templates/participation/mails/team_validated.html b/participation/templates/participation/mails/team_validated.html index 9281279..d929270 100644 --- a/participation/templates/participation/mails/team_validated.html +++ b/participation/templates/participation/mails/team_validated.html @@ -2,37 +2,36 @@ - Équipe validée – TFJM² + Team validated – ETEAM

- Bonjour {{ registration }}, + Hello {{ registration }},

- Félicitations ! Votre équipe « {{ team.name }} » ({{ team.trigram }}) est désormais validée ! Vous êtes désormais - apte à travailler sur vos problèmes. Vous pourrez ensuite envoyer vos solutions sur la plateforme. + 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.

{% if payment %}

- Vous devez désormais vous acquitter de vos frais de participation, de {{ payment.amount }} € par élève. - Vous pouvez payer par carte bancaire ou par virement bancaire. Vous trouverez les informations - sur la page de paiement. - Si vous disposez d'une bourse, l'inscription est gratuite, mais vous devez soumettre un justificatif - sur la même page. + You must now pay your participation fee of € {{ team.participation.amount }}. + You can pay by credit card or bank transfer. You'll find information + on the payment page which you can find on + . + If you have a scholarship, registration is free, but you must submit a justification on the same page.

{% elif registration.is_coach and team.participation.tournament.price %}

- Votre équipe doit désormais s'acquitter des frais de participation de {{ team.participation.tournament.price }} € - par élève (les encadrant⋅es sont exonéré⋅es). Les élèves qui disposent d'une bourse sont exonéré⋅es de ces frais. - Vous pouvez suivre l'état des paiements sur - la page de votre équipe. + 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 + your team page.

{% endif %} {% if message %}

- Les organisateur⋅ices vous adressent ce message : + The organisers send you this message:

{{ message }} @@ -40,7 +39,7 @@ {% endif %}

- Le comité d'organisation du TFJM² + The ETEAM team

diff --git a/participation/templates/participation/mails/team_validated.txt b/participation/templates/participation/mails/team_validated.txt index 20888c0..46991d0 100644 --- a/participation/templates/participation/mails/team_validated.txt +++ b/participation/templates/participation/mails/team_validated.txt @@ -1,23 +1,21 @@ -Bonjour {{ registration }}, +Hello {{registration }}, -Félicitations ! Votre équipe « {{ team.name }} » ({{ team.trigram }}) est désormais validée ! Vous êtes désormais apte -à travailler sur vos problèmes. Vous pourrez ensuite envoyer vos solutions sur la plateforme. +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. {% if team.participation.amount %} -Vous devez désormais vous acquitter de vos frais de participation, de {{ team.participation.amount }} €. -Vous pouvez payer par carte bancaire ou par virement bancaire. Vous trouverez les informations -sur la page de paiement que vous pouvez retrouver sur votre compte : +You must now pay your participation fee of € {{ team.participation.amount }}. +You can pay by credit card or bank transfer. You'll find information +on the payment page which you can find on your account: https://{{ domain }}{% url 'registration:my_account_detail' %} -Si vous disposez d'une bourse, l'inscription est gratuite, mais vous devez soumettre un justificatif -sur la même page. +If you have a scholarship, registration is free, but you must submit a justification on the same page. {% elif registration.is_coach and team.participation.tournament.price %} -Votre équipe doit désormais s'acquitter des frais de participation de {{ team.participation.tournament.price }} € -par élève (les encadrant⋅es sont exonéré⋅es). Les élèves qui disposent d'une bourse sont exonéré⋅es de ces frais. -Vous pouvez suivre l'état des paiements sur la page de votre équipe : +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 your team page: https://{{ domain }}{% url 'participation:team_detail' pk=team.pk %} {% endif %} {% if message %} -Les organisateurices vous adressent ce message : +The organisers send you this message: {{ message }} {% endif %} -Le comité d'organisation du TFJM² +The ETEAM team diff --git a/registration/templates/registration/mails/final_selection.html b/registration/templates/registration/mails/final_selection.html deleted file mode 100644 index a71bd4f..0000000 --- a/registration/templates/registration/mails/final_selection.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - -

- Bonjour {{ user.registration }}, -

- -

- Félicitations ! Votre équipe {{ user.registration.team.name }} ({{ user.registration.team.trigram }}) - est sélectionnée pour le tournoi final du TFJM² ! -

- -

- La finale aura lieu du {{ tournament.date_start|date:"d/m/Y" }} au {{ tournament.date_end|date:"d/m/Y" }} - à : {{ tournament.place }}. - Les organisateurices de la finale vous recontacteront pour plus de détails. -

- -

- D'ores-et-déjà, vous pouvez soumettre votre autorisation de droit à l'image spécifique à la finale sur votre espace personnel : - - https://{{ domain }}{% url 'registration:user_detail' pk=user.pk %} - . - {% if user.registration.is_student and user.registration.under_18_final %} - Vous pouvez également transmettre puisque vous êtes mineur⋅e votre autorisation parentale spécifique pour la finale sur la même page. - {% endif %} -

- -

- {% if tournament.price > 0 %} - {% if user.registration.is_student %} - {% if payment.type == "scholarship" %} - Votre statut de boursièr⋅e déjà enregistré vous exempte à nouveau des frais de participation de la finale. - {% else %} - Vous devez régler les frais de participation à la finale de {{ tournament.price }} €. - Rendez-vous pour cela sur la page du paiement : - - https://{{ domain }}{% url 'registration:update_payment' pk=payment.pk %} - . - {% endif %} - {% else %} - En tant qu'encadrant⋅e, vous n'avez toujours rien à payer, mais veillez bien à ce que les membres de votre équipe - règlent les frais de participation à la finale de {{ tournament.price }} €. - {% endif %} - {% endif %} -

- -

- Conformément au règlement du TFJM², vous pouvez soumettre de nouvelles versions de vos solutions, - pour améliorer vos explications, corriger des erreurs mineures ou la mise en page, ou supprimer - des éléments faux, mais il vous est en revanche interdit d'ajouter des résultats ou des preuves - ou de corriger des erreurs majeures. -

- -

- Pour mettre à jour vos solutions, rendez-vous sur la page de votre équipe : - - https://{{ domain }}{% url 'participation:participation_detail' pk=user.registration.team.participation.pk %} - . -

- -

- Cordialement, -

- --- -

- L'équipe du TFJM² -

- - diff --git a/registration/templates/registration/mails/final_selection.txt b/registration/templates/registration/mails/final_selection.txt deleted file mode 100644 index 364c736..0000000 --- a/registration/templates/registration/mails/final_selection.txt +++ /dev/null @@ -1,38 +0,0 @@ -Bonjour {{ user.registration }}, - -Félicitations ! Votre équipe {{ user.registration.team.name }} ({{ user.registration.team.trigram }}) est sélectionnée pour le tournoi final du TFJM² ! - -La finale aura lieu du {{ tournament.date_start|date:"d/m/Y" }} au {{ tournament.date_end|date:"d/m/Y" }} à : {{ tournament.place }}. -Les organisateurices de la finale vous recontacteront pour plus de détails. - -D'ores-et-déjà, vous pouvez soumettre votre autorisation de droit à l'image spécifique à la finale sur votre espace personnel : -https://{{ domain }}{% url 'registration:user_detail' pk=user.pk %} -{% if user.registration.is_student and user.registration.under_18_final %} -Vous pouvez également transmettre puisque vous êtes mineur⋅e votre autorisation parentale spécifique pour la finale sur la même page. -{% endif %} -{% if tournament.price > 0 %} -{% if user.registration.is_student %} -{% if payment.type == "scholarship" %} -Votre statut de boursièr⋅e déjà enregistré vous exempte à nouveau des frais de participation de la finale. -{% else %} -Vous devez régler les frais de participation à la finale de {{ tournament.price }} €. -Rendez-vous pour cela sur la page du paiement : -https://{{ domain }}{% url 'registration:update_payment' pk=payment.pk %} -{% endif %} -{% else %} -En tant qu'encadrant⋅e, vous n'avez toujours rien à payer, mais veillez bien à ce que les membres de votre équipe -règlent les frais de participation à la finale de {{ tournament.price }} €. -{% endif %} -{% endif %} -Conformément au règlement du TFJM², vous pouvez soumettre de nouvelles versions de vos solutions, -pour améliorer vos explications, corriger des erreurs mineures ou la mise en page, ou supprimer -des éléments faux, mais il vous est en revanche interdit d'ajouter des résultats ou des preuves -ou de corriger des erreurs majeures. - -Pour mettre à jour vos solutions, rendez-vous sur la page de votre équipe : -https://{{ domain }}{% url 'participation:participation_detail' pk=user.registration.team.participation.pk %} - -Cordialement, - --- -L'équipe du TFJM² diff --git a/registration/templates/registration/mails/payment_confirmation.html b/registration/templates/registration/mails/payment_confirmation.html index 279ac6b..4fc9225 100644 --- a/registration/templates/registration/mails/payment_confirmation.html +++ b/registration/templates/registration/mails/payment_confirmation.html @@ -14,7 +14,7 @@

{% blocktrans trimmed with amount=payment.amount team=payment.team.trigram tournament=payment.tournament.name %} - We successfully received the payment of {{ amount }} € for your participation for the TFJM² in the team {{ team }} for the tournament {{ tournament }}! + We successfully received the payment of {{ amount }} € for your participation for the ETEAM in the team {{ team }} for the tournament {{ tournament }}! {% endblocktrans %}

@@ -32,17 +32,13 @@

-

- {% trans "Please note that these dates may be subject to change. If your local organizers gave you different dates, trust them." %} -

-

{% 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" %}

--

- {% trans "The TFJM² team." %}
+ {% trans "The ETEAM team." %}

diff --git a/registration/templates/registration/mails/payment_confirmation.txt b/registration/templates/registration/mails/payment_confirmation.txt index 298aebb..a32b766 100644 --- a/registration/templates/registration/mails/payment_confirmation.txt +++ b/registration/templates/registration/mails/payment_confirmation.txt @@ -2,7 +2,7 @@ {% trans "Hi" %} {{ registration|safe }}, {% blocktrans trimmed with amount=payment.amount team=payment.team.trigram tournament=payment.tournament.name %} -We successfully received the payment of {{ amount }} € for your participation for the TFJM² in the team {{ team }} for the tournament {{ tournament }}! +We successfully received the payment of {{ amount }} € for your participation for the ETEAM in the team {{ team }} for the tournament {{ tournament }}! {% endblocktrans %} {% trans "Your registration is now fully completed, and you can work on your solutions." %} @@ -13,10 +13,8 @@ We successfully received the payment of {{ amount }} € for your participation * {% trans "Problems draw:" %} {{ payment.tournament.solutions_draw|date }} * {% trans "Tournament dates:" %} {% trans "From" %} {{ payment.tournament.date_start|date }} {% trans "to" %} {{ payment.tournament.date_end|date }} -{% trans "Please note that these dates may be subject to change. If your local organizers gave you different dates, trust them." %} - {% 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" %} -- -{% trans "The TFJM² team" %} +{% trans "The ETEAM team" %} diff --git a/registration/templates/registration/mails/payment_reminder.html b/registration/templates/registration/mails/payment_reminder.html index 7de8452..b75c0fb 100644 --- a/registration/templates/registration/mails/payment_reminder.html +++ b/registration/templates/registration/mails/payment_reminder.html @@ -14,7 +14,7 @@

{% blocktrans trimmed with amount=payment.amount team=payment.team.trigram tournament=payment.tournament %} - You are registered for the TFJM² of {{ tournament }}. Your team {{ team }} has been successfully validated. + You are registered for the ETEAM of {{ tournament }}. Your team {{ team }} has been successfully validated. To end your inscription, you must pay the amount of {{ amount }} €. {% endblocktrans %}

@@ -49,7 +49,7 @@ --

- {% trans "The TFJM² team." %}
+ {% trans "The ETEAM team." %}

diff --git a/registration/templates/registration/mails/payment_reminder.txt b/registration/templates/registration/mails/payment_reminder.txt index 18e2be7..0659f0a 100644 --- a/registration/templates/registration/mails/payment_reminder.txt +++ b/registration/templates/registration/mails/payment_reminder.txt @@ -2,7 +2,7 @@ {% trans "Hi" %} {{ registration|safe }}, {% blocktrans trimmed with amount=payment.amount team=payment.team.trigram tournament=payment.tournament %} -You are registered for the TFJM² of {{ tournament }}. Your team {{ team }} has been successfully validated. +You are registered for the ETEAM of {{ tournament }}. Your team {{ team }} has been successfully validated. To end your inscription, you must pay the amount of {{ amount }} €. {% endblocktrans %} {% if payment.grouped %} @@ -19,4 +19,4 @@ https://{{ domain }}{% url "registration:update_payment" pk=payment.pk %} {% trans "If you have any problem, feel free to contact us." %} -- -The TFJM² team +The ETEAM team