diff options
Diffstat (limited to 'askbot/skins/default/templates/email/macros.html')
-rw-r--r-- | askbot/skins/default/templates/email/macros.html | 5 |
1 files 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' %} <p style="{{ heading_style() }}"> {% trans %}Question:{% endtrans %} @@ -10,7 +10,7 @@ {% set tag_names = post.get_tag_names() %} {% if tag_names %} <p> - {% trans author=post.author.username -%} + {% trans -%} Asked by: {{ author }} {%- endtrans %} </p> @@ -28,6 +28,7 @@ {% trans author %}Commented by {{ author }}:{% endtrans %} </p> {% endif %} + {{ post.html }} {{ end_quote(quote_level) }} {% endspaceless %} {% endmacro %} |