X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Femail%2Finfluence_comment_added.html;h=d52cce2f1908b4095fc3389c071029dfa788622c;hb=8d30a85b070625d27447328177e84ac900d3ff2e;hp=8390a3a5ac92d588bae633b916ffcd672d5ee8b4;hpb=1a2870e797b6c904ebac7ce8a563eff5aa582143;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/email/influence_comment_added.html b/templates/influences/email/influence_comment_added.html index 8390a3a..d52cce2 100644 --- a/templates/influences/email/influence_comment_added.html +++ b/templates/influences/email/influence_comment_added.html @@ -1,20 +1,19 @@ {% load gapless %}{% gapless %} {% load i18n %} -{% load uri %} {% 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 %}, +{% if first_name %} +{% blocktrans %}Hello {{ first_name }}{% endblocktrans %}, {% else %} {% trans "L.S." %}, {% endif %} \\ {% filter wordwrap:72 %} {% blocktrans %} -{{commenter}} has just commented the following on your influence: +{{commenter}} has just commented the following on an influence you are involved in: {% endblocktrans %} \\ {{comment.comment}}