Email notifications on new comments for partners (#3913)
Fixes #3871. Allows partners that are assigned to an application to also get email notifications when a new comment is made that has applicable visibility. There was some refactoring that took place to allow for email messages to be customized on a per-recipient basis rather than having one be generated for all recipients.
Showing
- hypha/apply/activity/adapters/base.py 6 additions, 4 deletionshypha/apply/activity/adapters/base.py
- hypha/apply/activity/adapters/emails.py 40 additions, 3 deletionshypha/apply/activity/adapters/emails.py
- hypha/apply/activity/models.py 1 addition, 1 deletionhypha/apply/activity/models.py
- hypha/apply/activity/templates/messages/email/comment.html 2 additions, 0 deletionshypha/apply/activity/templates/messages/email/comment.html
- hypha/apply/activity/templates/messages/email/partners_update_partner.html 1 addition, 1 deletion...ity/templates/messages/email/partners_update_partner.html
- hypha/apply/activity/templatetags/activity_tags.py 0 additions, 18 deletionshypha/apply/activity/templatetags/activity_tags.py
- hypha/apply/activity/tests/test_messaging.py 99 additions, 4 deletionshypha/apply/activity/tests/test_messaging.py
Loading
Please register or sign in to comment