From b5e757b4deaa61f78f9fa3fd9b568ec6f8675e73 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 31 May 2012 02:36:13 -0400 Subject: added omitted details to the reply email template --- askbot/skins/default/templates/email/macros.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/askbot/skins/default/templates/email/macros.html b/askbot/skins/default/templates/email/macros.html index 31c5c54a..f69dc541 100644 --- a/askbot/skins/default/templates/email/macros.html +++ b/askbot/skins/default/templates/email/macros.html @@ -1,7 +1,7 @@ {% macro quoted_post(post = None, quote_level = 0) %} {% spaceless %} {{ start_quote(quote_level) }} - {% set author = post.username %} + {% set author = post.author.username %} {% if post.post_type == 'question' %}

{% trans %}Question:{% endtrans %} @@ -10,7 +10,7 @@ {% set tag_names = post.get_tag_names() %} {% if tag_names %}

- {% trans author=post.author.username -%} + {% trans -%} Asked by: {{ author }} {%- endtrans %}

@@ -28,6 +28,7 @@ {% trans author %}Commented by {{ author }}:{% endtrans %}

{% endif %} + {{ post.html }} {{ end_quote(quote_level) }} {% endspaceless %} {% endmacro %} -- cgit v1.2.3-1-g7c22