From: Matthijs Kooijman Date: Tue, 4 Nov 2008 10:54:28 +0000 (+0100) Subject: Add a "new comment" email template. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=6cbe123d251d1ed25f09ad13d86bf1af65012430;p=matthijs%2Fprojects%2Fxerxes.git Add a "new comment" email template. --- diff --git a/templates/influences/email/influence_comment_added.html b/templates/influences/email/influence_comment_added.html new file mode 100644 index 0000000..7ebe70c --- /dev/null +++ b/templates/influences/email/influence_comment_added.html @@ -0,0 +1,22 @@ +{% load gapless %}{% gapless %} +{% load i18n %} +{% autoescape off %} +From: Xerxes (Evolution Events) +X-Mailer: Xerxes +Subject: {% blocktrans %}Comment added to influence "{{ influence }}".{% endblocktrans %} +\\ +{% if recipients.0.first_name %} +{% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %}, +{% else %} +{% trans "L.S." %}, +{% endif %} +\\ +{% filter wordwrap:72 %} +{% blocktrans %} +{{commenter}} has just commented the following on your influence: +{% endblocktrans %} +\\ +{{comment.comment}} +{% endfilter %} +{% endautoescape %} +{% endgapless %}