diff options
Diffstat (limited to 'askbot/templates')
-rw-r--r-- | askbot/templates/macros.html | 2 | ||||
-rw-r--r-- | askbot/templates/question.html | 4 |
2 files changed, 3 insertions, 3 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] %} diff --git a/askbot/templates/question.html b/askbot/templates/question.html index 7e8d33ef..13593adc 100644 --- a/askbot/templates/question.html +++ b/askbot/templates/question.html @@ -225,7 +225,7 @@ if (extra_comment_count > 0){ var text = "{% trans %}see more comments{% endtrans%}"; } else { - var text = "{% trans %}post a comment{% endtrans %}"; + var text = "{% trans %}add a comment{% endtrans %}"; } var add_comment_btn = document.getElementById('add-comment-to-post-' + post_id); add_comment_btn.innerHTML = text; @@ -328,7 +328,7 @@ askbot['data']['answersSortTab'] = '{{ tab_id }}'; askbot['data']['questionId'] = {{ question.id }}; askbot['data']['threadSlug'] = '{{ thread.title|slugify }}'; - askbot['messages']['addComment'] = '{% trans %}post a comment{% endtrans %}'; + askbot['messages']['addComment'] = '{% trans %}add a comment{% endtrans %}'; askbot['settings']['saveCommentOnEnter'] = {{ settings.SAVE_COMMENT_ON_ENTER|as_js_bool }}; askbot['settings']['tagSource'] = '{{ settings.TAG_SOURCE }}'; askbot['settings']['enableSharingGoogle'] = {{ settings.ENABLE_SHARING_GOOGLE|as_js_bool }}; |