Ajustement pied de page confirmation MSP
This commit is contained in:
parent
4a8150af7c
commit
f7cb4f155a
3 changed files with 10 additions and 6 deletions
|
|
@ -151,7 +151,7 @@ Votre dossier sera traité dans les jours à venir et des nouvelles vous seront
|
|||
Dans l’intervalle, nous vous adressons, Monsieur, nos salutations les plus cordiales.
|
||||
|
||||
|
||||
Secrétariat de la filière Education de l’enfance, dipl. ES
|
||||
Secrétariat de la filière Éducation de l’enfance, dipl. ES
|
||||
Hans Schmid
|
||||
me@example.org
|
||||
tél. 032 886 33 00"""
|
||||
|
|
|
|||
|
|
@ -51,8 +51,16 @@ class ConfirmationView(CandidateConfirmationView):
|
|||
candidate = Candidate.objects.get(pk=self.kwargs['pk'])
|
||||
|
||||
to = [candidate.email]
|
||||
msg_context = {
|
||||
"candidate": candidate,
|
||||
"sender": self.request.user,
|
||||
}
|
||||
if candidate.section in {'EDE', 'MSP'}:
|
||||
src_email = 'email/candidate_confirm_EDE.txt'
|
||||
if candidate.section == "EDE":
|
||||
msg_context["nom_filiere"] = "Éducation de l’enfance, dipl. ES"
|
||||
else:
|
||||
msg_context["nom_filiere"] = "Maîtrise socioprofessionnelle"
|
||||
elif candidate.section == 'EDS':
|
||||
src_email = 'email/candidate_confirm_EDS.txt'
|
||||
elif candidate.section in {'ASA', 'ASE', 'ASSC'}:
|
||||
|
|
@ -62,10 +70,6 @@ class ConfirmationView(CandidateConfirmationView):
|
|||
if candidate.instructor and candidate.instructor.email:
|
||||
to.append(candidate.instructor.email)
|
||||
|
||||
msg_context = {
|
||||
'candidate': candidate,
|
||||
'sender': self.request.user,
|
||||
}
|
||||
initial.update({
|
||||
'cci': self.request.user.email,
|
||||
'to': '; '.join(to),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Votre dossier sera traité dans les jours à venir et des nouvelles vous seront
|
|||
Dans l’intervalle, nous vous adressons, {{ candidate.civility }}, nos salutations les plus cordiales.
|
||||
|
||||
|
||||
Secrétariat de la filière Education de l’enfance, dipl. ES
|
||||
Secrétariat de la filière {{ nom_filiere }}
|
||||
{{ sender.first_name }} {{ sender.last_name }}
|
||||
{{ sender.email }}
|
||||
tél. 032 886 33 00
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue