1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-11-17 10: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 #: tfjm/templates/messages.html:6
msgid "" 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 " "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 " "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 " "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" "informed as soon as the final dates are confirmed.\n"
msgstr "" 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 à " "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 " "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 " "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 = [ ACCOMPANYING_CONFIRM_CHOICES = [
("presence", _("I undertake to be present throughout the entire tournament weekend alongside the team (including overnight stays).")), ("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.")), ("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, choices=ACCOMPANYING_CONFIRM_CHOICES,
label=_("Responsabilities of accompanying coaches") label=_("Responsabilities of accompanying coaches")
) )
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
if not settings.SUGGEST_ANIMATH: if not settings.SUGGEST_ANIMATH:
@@ -270,9 +272,9 @@ class CoachRegistrationForm(forms.ModelForm):
class Meta: class Meta:
model = CoachRegistration model = CoachRegistration
fields = ('team', 'is_scientific_coach', 'is_accompanying_coach', 'confirm_accompanying', 'gender', 'address', 'zip_code', 'city', 'country', 'phone_number', fields = ('team', 'is_scientific_coach', 'is_accompanying_coach', 'confirm_accompanying', 'gender', 'address',
'last_degree', 'professional_activity', 'health_issues', 'housing_constraints', 'zip_code', 'city', 'country', 'phone_number', 'last_degree', 'professional_activity', 'health_issues',
'give_contact_to_animath', 'email_confirmed') 'housing_constraints', 'give_contact_to_animath', 'email_confirmed')
def clean(self): def clean(self):
cleaned = super().clean() cleaned = super().clean()

View File

@@ -3,7 +3,7 @@
{% load i18n %} {% load i18n %}
<h2>{% trans "Dates pending" %}</h2> <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 %} {% endblocktrans %}
</p> </p>
</div> </div>