Add the influence url to notification emails.
[matthijs/projects/xerxes.git] / templates / influences / email / influence_comment_added.html
1 {% load gapless %}{% gapless %}
2 {% load i18n %}
3 {% load uri %}
4 {% autoescape off %}
5 From: Xerxes (Evolution Events)<xerxes@evolution-events.nl>
6 X-Mailer: Xerxes
7 Subject: {% blocktrans %}Comment added to influence "{{ influence }}".{% endblocktrans %}
8 \\
9 {% if recipients.0.first_name %}
10 {% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %},
11 {% else %}
12 {% trans "L.S." %},
13 {% endif %}
14 \\
15 {% filter wordwrap:72 %}
16 {% blocktrans %}
17 {{commenter}} has just commented the following on your influence:
18 {% endblocktrans %}
19 \\
20 {{comment.comment}}
21 {% endfilter %}
22 \\
23 \\
24 {# This is ugly and hardcoded, but we don't have access to the request #}
25 {# when notifying currently, so this should do for now. #}
26 {% trans "View the influence and comments here:" %}
27 http://xerxes.evolution-events.nl{{ influence.get_absolute_url }}
28 {% endautoescape %}
29 {% endgapless %}