-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First version for certificate generation #77
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remplacer certificate
et ceritificate
par attestation
.
Certificate_template/certificate_template_sample_french_logo.svg
Outdated
Show resolved
Hide resolved
Il faudra également ajouter l'envoi du certificat par courriel, avec l'option de test à soi-même. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il va manquer également l'envoi par courriel des certificats
…ngement pour utiliser le même nom de fichier qu'en FR et ajout de la constante en haut du document. Corriger l'emplacement du logo pour le certificat en français. Ligne 36, ajout d’un paramètre pour contrôler où écrire les certificats. Ligner 35, ajout de —event_id en paramètre requis. Ligne 190, 'end’. Ligne 51, ajout de --event_id pour le usage. Ligne 377, ajout du garde pour protéger le main.
…age. Ligne 92-94 et 199-201 et 316-318; enlevé validation langue.
…mplate et modification de la variable de test pour participants fictifs.
…urriel fonctionnel. Argparse copié dans la bonne section. Ajout des templates pour les courriels en français et en englais.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remplacer certification
par attestation de participation
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corriger le titre Ceritificate
-> Attestation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
create_certificate.py
Outdated
|
||
# Create email: | ||
if args.send_atnd or args.send_self: | ||
send_email(eb_event, attended_guest_test, args.email_tplt_dir, args.send_self, args.number_to_send, args.language, args.gmail_user, args.gmail_password, args.self_email, attach_certificate=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attended_guest_test
n'existe pas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai oublié de changer le nom de la variable. J'ai fait la correction.
…_atnd, Ajout de du fichier configuration pour email
Il faudrait déplacer les templates et les adresses hardcodées de Calcul Québec dans un dépôt privé, plutôt que dans ce dépôt. |
No description provided.