diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-31 02:36:13 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-31 02:36:13 -0400 |
commit | b5e757b4deaa61f78f9fa3fd9b568ec6f8675e73 (patch) | |
tree | 07c711e3c0f13687214a0266b30e832b2c752d3d | |
parent | 55df0be6e087338e26e367a7d9894f741348b8d7 (diff) | |
download | askbot-b5e757b4deaa61f78f9fa3fd9b568ec6f8675e73.tar.gz askbot-b5e757b4deaa61f78f9fa3fd9b568ec6f8675e73.tar.bz2 askbot-b5e757b4deaa61f78f9fa3fd9b568ec6f8675e73.zip |
added omitted details to the reply email template
-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 %} |