1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-11-17 00:07:42 +01:00

Add date Strasbourg

This commit is contained in:
Maxime JUST
2025-11-16 10:39:23 +01:00
parent 27a4bdf98e
commit 07e13ea6ee
3 changed files with 10 additions and 8 deletions

View File

@@ -4865,14 +4865,14 @@ msgstr "Dates en attentes"
#: tfjm/templates/messages.html:6
msgid ""
"Since the dates for the tournaments in Bordeaux, Strasbourg, Metz and "
"Since the dates for the tournaments in Bordeaux, Rennes, Metz and "
"Occitanie have not yet been set, we kindly invite the teams concerned to "
"wait a little longer. If you wish, you may register for another tournament "
"and send us an email to let us know of your interest; we will keep you "
"informed as soon as the final dates are confirmed.\n"
msgstr ""
"Les dates des tournois de Bordeaux, Strasbourg, Metz et Occitanie nétant pas "
"Les dates des tournois de Bordeaux, Rennes, Metz et Occitanie nétant pas "
"encore fixées, nous invitons pour le moment les équipes de ces tournois à "
"patienter. Vous pouvez si vous le souhaitez, vous inscrire ailleurs et nous "
"envoyer un mail pour nous informer de votre intérêt : nous vous tiendrons "

View File

@@ -253,7 +253,8 @@ class CoachRegistrationForm(forms.ModelForm):
"""
ACCOMPANYING_CONFIRM_CHOICES = [
("presence", _("I undertake to be present throughout the entire tournament weekend alongside the team (including overnight stays).")),
("rules", _("I undertake to respond to the team's (non-mathematical) problems and not to hesitate to discuss them with the tournament organisers, who will be able to help.")),
("rules", _("I undertake to respond to the team's (non-mathematical) problems and not to hesitate to discuss them with the tournament "
"organisers, who will be able to help.")),
("cancelling", _("In case of absence, I undertake to notify the organisers as soon as possible, providing a replacement if possible.")),
]
@@ -263,6 +264,7 @@ class CoachRegistrationForm(forms.ModelForm):
choices=ACCOMPANYING_CONFIRM_CHOICES,
label=_("Responsabilities of accompanying coaches")
)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
if not settings.SUGGEST_ANIMATH:
@@ -270,10 +272,10 @@ class CoachRegistrationForm(forms.ModelForm):
class Meta:
model = CoachRegistration
fields = ('team', 'is_scientific_coach', 'is_accompanying_coach', 'confirm_accompanying', 'gender', 'address', 'zip_code', 'city', 'country', 'phone_number',
'last_degree', 'professional_activity', 'health_issues', 'housing_constraints',
'give_contact_to_animath', 'email_confirmed')
fields = ('team', 'is_scientific_coach', 'is_accompanying_coach', 'confirm_accompanying', 'gender', 'address',
'zip_code', 'city', 'country', 'phone_number', 'last_degree', 'professional_activity', 'health_issues',
'housing_constraints', 'give_contact_to_animath', 'email_confirmed')
def clean(self):
cleaned = super().clean()
if cleaned.get("is_accompanying_coach"):

View File

@@ -3,7 +3,7 @@
{% load i18n %}
<h2>{% trans "Dates pending" %}</h2>
<p>{% blocktrans %}Since the dates for the tournaments in Bordeaux, Strasbourg, Metz and Occitanie have not yet been set, we kindly invite the teams concerned to wait a little longer. If you wish, you may register for another tournament and send us an email to let us know of your interest; we will keep you informed as soon as the final dates are confirmed.
<p>{% blocktrans %}Since the dates for the tournaments in Bordeaux, Rennes, Metz and Occitanie have not yet been set, we kindly invite the teams concerned to wait a little longer. If you wish, you may register for another tournament and send us an email to let us know of your interest; we will keep you informed as soon as the final dates are confirmed.
{% endblocktrans %}
</p>
</div>