mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-11-17 12:17:51 +01:00
Fix linters + Fix translations
This commit is contained in:
@@ -80,13 +80,17 @@ class ParticipationForm(forms.ModelForm):
|
||||
if settings.SINGLE_TOURNAMENT:
|
||||
del self.fields['tournament']
|
||||
self.helper = FormHelper()
|
||||
idf_text = _(
|
||||
'For the tournaments in the region "Île-de-France": registration is '
|
||||
'unified for each tournament. By choosing a tournament "Île-de-France", '
|
||||
"you're accepting that your team may be selected for one of these tournaments. "
|
||||
'In case of date conflict, please write them in your motivation letter.'
|
||||
)
|
||||
|
||||
idf_warning_banner = f"""
|
||||
<div class=\"alert alert-warning\">
|
||||
<h5 class=\"alert-heading\">{_("IMPORTANT")}</h4>
|
||||
{_("""For the tournaments in the region "Île-de-France": registration is
|
||||
unified for each tournament. By choosing a tournament "Île-de-France",
|
||||
you're accepting that your team may be selected for one of these tournaments.
|
||||
In case of date conflict, please write them in your motivation letter.""")}
|
||||
{idf_text}
|
||||
</div>
|
||||
"""
|
||||
unified_registration_tournament_ids = ",".join(
|
||||
|
||||
Reference in New Issue
Block a user