Skip to content
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

Templatize emails for the producers platform #5227

Merged
merged 4 commits into from
May 12, 2021
Merged

Conversation

stephanegigandet
Copy link
Contributor

  • added a new /templates/emails directory to store email templates (either in .txt or .html)
  • email templates:

-- user_new_pro_account.tt.txt : mail template to email producers after a few days
-- user_new_pro_account_org_request_validated.tt.txt : mail template when we accept their request to join an org
-- user_new_pro_account_admin_notification.tt.html : HTML notification email sent to the producers platform admins, with 2 mailto: links that embed the first 2 emails

Fixes #5208 #5200
Will help to do #5182

@stephanegigandet stephanegigandet added the 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers label May 12, 2021
@stephanegigandet stephanegigandet requested review from teolemon and a team May 12, 2021 14:53
Copy link
Member

@teolemon teolemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good to me 👍

@sonarcloud
Copy link

sonarcloud bot commented May 12, 2021

SonarCloud Quality Gate failed.

Bug C 10 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make brands a taxonomized field
2 participants