mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-11-09 05:03:16 +01:00
Add distinction between scientific coach and accompanying coach
This commit is contained in:
@@ -22,6 +22,7 @@ from phonenumber_field.modelfields import PhoneNumberField
|
||||
from polymorphic.models import PolymorphicModel
|
||||
from tfjm import helloasso
|
||||
from tfjm.tokens import email_validation_token
|
||||
from django.utils.html import format_html
|
||||
|
||||
|
||||
class Registration(PolymorphicModel):
|
||||
@@ -527,6 +528,23 @@ class CoachRegistration(ParticipantRegistration):
|
||||
verbose_name=_("professional activity"),
|
||||
)
|
||||
|
||||
is_scientific_coach = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("Scientific coach"),
|
||||
help_text=format_html(
|
||||
'{} <a href="{}" target="_blank" rel="noopener">{}</a>.',
|
||||
_("Provides scientific guidance: methodology, content review, and project mentoring during the preparation phase."),
|
||||
"https://tfjm.org/wp-content/uploads/2024/01/note____l_intention_des_encadrants.pdf",
|
||||
_("see practical sheet"),
|
||||
),
|
||||
)
|
||||
|
||||
is_accompanying_coach = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("Accompanying coach"),
|
||||
help_text=_("Accompanies the team during the weekend and stays for the entire tournament."),
|
||||
)
|
||||
|
||||
@property
|
||||
def type(self):
|
||||
return _("coach")
|
||||
|
||||
Reference in New Issue
Block a user