X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=blobdiff_plain;f=templates%2Finfluences%2Femail%2Finfluence_comment_added.html;h=d52cce2f1908b4095fc3389c071029dfa788622c;hp=8a2d4a4ac8d53f4db0475c19304eb3b8c849222d;hb=dad2574dc3f0cc1d114a85ac44ef440b5baeeaa8;hpb=4bd170e7451502e3d375570dad58bed94a751af2 diff --git a/templates/influences/email/influence_comment_added.html b/templates/influences/email/influence_comment_added.html index 8a2d4a4..d52cce2 100644 --- a/templates/influences/email/influence_comment_added.html +++ b/templates/influences/email/influence_comment_added.html @@ -5,15 +5,15 @@ 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}}