mailer templates.

Questions, comments, discussions. Over time certain topics might be moved to their own category.
Post Reply
pixiesfr
Posts: 4
Joined: Wed Oct 02, 2019 10:06 pm

mailer templates.

Post by pixiesfr »

Hello,

I changed the MAILER_DOCUMENT_BODY_TEMPLATE, to reflect my language and i would like to include the comments in the emails sends.
is it possible ? if yes how as there is few comments possible..

Thanks in advance.
User avatar
franco
Developer
Developer
Posts: 29
Joined: Sun Apr 05, 2020 2:30 am

Re: mailer templates.

Post by franco »

Use this:

{% for comment in document.comments.all %}
{{ comment }}
{% endfor %}
Post Reply