summaryrefslogtreecommitdiffstats
path: root/askbot/templates/macros.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/templates/macros.html')
-rw-r--r--askbot/templates/macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/templates/macros.html b/askbot/templates/macros.html
index f7eab371..eff73565 100644
--- a/askbot/templates/macros.html
+++ b/askbot/templates/macros.html
@@ -396,7 +396,7 @@ for the purposes of the AJAX comment editor #}
<div class="clean"></div>
{% endif %}
{% set widget_id = 'comments-for-' + post.post_type + '-' + post.id|string %}
- <div class="comments" id="{{widget_id}}">
+ <div class="comments{% if post.comment_count == 0 %} empty{% endif %}" id="{{ widget_id }}">
<div class="content">
{% if show_post == post and show_comment and show_comment_position > max_comments %}
{% set comments = post.get_cached_comments()[:show_comment_position] %}