send system notification on period confirmation

This commit is contained in:
2021-12-30 02:10:35 +01:00
parent 7bc4ad9779
commit 5bf1b9d8bd
12 changed files with 233 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
{{ 'period_notification.You are designated to a new period.'|trans }}
{{ 'period_notification.See it online'|trans }}: {{ path('chill_person_accompanying_course_index', {'accompanying_period_id': accompanyingCourse.id}, true) }}
{{ 'period_notification.Persons are'|trans }}:
{% for p in accompanyingCourse.getCurrentParticipations %}
* {{ p.person|chill_entity_render_string }}
{% endfor %}
{{ 'period_notification.Social issues are'|trans }}: {% for s in accompanyingCourse.socialIssues %}{{ s|chill_entity_render_string }}{% if not loop.last %}, {% endif %}{% endfor %}.