diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-01-29 19:08:20 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-01-29 19:08:20 -0300 |
commit | a250b074af6dc3244e1af3a098d4e9352d261943 (patch) | |
tree | b7830ce2e411b15d93e233a58d1c762b053ee5a1 | |
parent | fcb4ec4bac079a680a3f9287d577cbe31fd8cbe1 (diff) | |
download | askbot-a250b074af6dc3244e1af3a098d4e9352d261943.tar.gz askbot-a250b074af6dc3244e1af3a098d4e9352d261943.tar.bz2 askbot-a250b074af6dc3244e1af3a098d4e9352d261943.zip |
adjusted template for teh email alert
-rw-r--r-- | askbot/templates/email/macros.html | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/askbot/templates/email/macros.html b/askbot/templates/email/macros.html index 125705e2..77345a45 100644 --- a/askbot/templates/email/macros.html +++ b/askbot/templates/email/macros.html @@ -9,7 +9,11 @@ {{ start_quote(quote_level) }} {% set author = post.author.username|escape %} {% if post.post_type == 'question' %} + {% if quote_level > 0 %} <p style="font-size:10px; font-weight: bold;"> + {% else %} + <p style="font-size:20px; font-weight: bold; margin: 10px 0"> + {% endif %} {% if format == 'parent_subthread' %} {% if is_leaf_post %} {% trans %}Question by {{ author }}:{% endtrans %} @@ -23,18 +27,20 @@ {% endif %} {{ post.thread.title }} </p> + {% if quote_level > 0 %} <p style="font-size:10px; font-weight: bold;"> {% if format != 'parent_subthread' %} {% trans %}Asked by {{ author }}:{% endtrans %} {% endif %} </p> - {% set tag_names = post.get_tag_names() %} - {% if tag_names %} - <p style="font-size:10px; font-style:italic;"> - {% trans %}Tags:{% endtrans %} - {{ tag_names|join(', ') }}. - </p> - {% endif %} + {% endif %} + {% set tag_names = post.get_tag_names() %} + {% if tag_names %} + <p style="font-size:10px; font-style:italic;"> + {% trans %}Tags:{% endtrans %} + {{ tag_names|join(', ') }}. + </p> + {% endif %} {% elif post.post_type == 'answer' %} <p style="font-size:10px; font-weight: bold;"> {% if format == 'parent_subthread' %} |