mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
Email on designation: allow raw characters
As the content-type of the email is text/plain, we should not escape special character. Add the raw filter on string which will be escaped by twig.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{{ 'period_notification.You are designated to a new period'|trans }}
|
||||
{{ 'period_notification.You are designated to a new period'|trans|raw }}
|
||||
|
||||
{{ 'period_notification.See it online'|trans }}:
|
||||
{{ 'period_notification.See it online'|trans|raw }}:
|
||||
|
||||
{{ absolute_url(path('chill_person_accompanying_course_index', {'accompanying_period_id': accompanyingCourse.id}, false)) }}
|
||||
|
||||
{{ 'period_notification.Persons are'|trans }}:
|
||||
{{ 'period_notification.Persons are'|trans|raw }}:
|
||||
|
||||
{% 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 %}.
|
||||
{{ 'period_notification.Social issues are'|trans|raw }}: {% for s in accompanyingCourse.socialIssues %}{{ s|chill_entity_render_string }}{% if not loop.last %}, {% endif %}{% endfor %}.
|
||||
|
||||
|
Reference in New Issue
Block a user