Closed jaderabbit closed 5 years ago
@avishkar58 @KaleabTessera Can you do a sense check here plz
Looks good to me! Only thing I'd add is that the letter should be converted/saved as PDF before emailing it.
Note: Please also add whether or not the person is presenting a poster to the fields.
Note: Please also add whether or not the person is presenting a poster to the fields.
Does this need to go on the invitation letter? :P
Yes, apparently this is useful for people using the letter to seek funding from their university or company etc :)
On Wed, 26 Jun 2019, 18:36 Jade Abbott, notifications@github.com wrote:
Note: Please also add whether or not the person is presenting a poster to the fields.
Does this need to go on the invitation letter? :P
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/deep-learning-indaba/Baobab/issues/328?email_source=notifications&email_token=ABFV53GYGGUUQVK2LKT2WBDP4OSI3A5CNFSM4H2PFKO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYUIWNA#issuecomment-505973556, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFV53F3RY3VKVTAAN2TGM3P4OSI3ANCNFSM4H2PFKOQ .
I figure, we could just have %BRINGING_POSTER% on the templates, and then mailmerge that with text if they're bringing one. I'm trying to avoid another permutation of invitation templates :P
Yes definitely, much better than doubling the templates :)
On Wed, 26 Jun 2019, 19:03 Jade Abbott, notifications@github.com wrote:
I figure, we could just have %BRINGING_POSTER% on the templates, and then mailmerge that with text if they're bringing one. I'm trying to avoid another permutation of invitation templates :P
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/deep-learning-indaba/Baobab/issues/328?email_source=notifications&email_token=ABFV53GZQMCYBPTXWCD6RTLP4OVNLA5CNFSM4H2PFKO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYULDLA#issuecomment-505983404, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFV53HPSVIEJKPLBC3ST6TP4OVNLANCNFSM4H2PFKOQ .
This module needs to generate Invitation Letters for a particular user, as per the Registration spec
Create a
api/app/invitationletter/generator.py
module with agenerate
method that takes the following inputs:It must do the following:
Fetch the word template from google cloud storage. Here is an example of a template
Replace the tags in the invitation template, with the correct fields . You can use the following package: https://pypi.org/project/docx-mailmerge/
Convert the word doc to a PDF
Email the the user the newly generated invitation letter
Return true if email was successful
Definition of Done This task is done when: