From 6cbe123d251d1ed25f09ad13d86bf1af65012430 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 4 Nov 2008 11:54:28 +0100 Subject: [PATCH] Add a "new comment" email template. --- .../email/influence_comment_added.html | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/influences/email/influence_comment_added.html 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 %} -- 2.30.2