Fix email whitespaces and allow email translations (#3361)
Due the way the `AdapterBase` for messages is structured, there is not easy to send markdown emails. Right now, it fixes few templates that had horizontal whitespaces issues. We also use translations while rendering template as string and then remove extra lines introduced due to Django template tags. Fixes #3173 #3243
Showing
- hypha/apply/activity/adapters/emails.py 9 additions, 1 deletionhypha/apply/activity/adapters/emails.py
- hypha/apply/activity/templates/messages/email/contract_uploaded.html 17 additions, 18 deletions.../activity/templates/messages/email/contract_uploaded.html
- hypha/apply/activity/templates/messages/email/invoice_status_updated.html 1 addition, 1 deletion...vity/templates/messages/email/invoice_status_updated.html
- hypha/apply/activity/templates/messages/email/submit_contract_documents.html 4 additions, 4 deletions...y/templates/messages/email/submit_contract_documents.html
- hypha/core/mail.py 2 additions, 2 deletionshypha/core/mail.py
Loading
Please register or sign in to comment