diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-21 17:11:40 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-21 17:11:45 -0400 |
commit | b2df0411650b508bd1c394294836fa4b2da994d6 (patch) | |
tree | 022120d1bf045f5219e5d5c2566e9e8c8519c8fe /askbot/templates | |
parent | 2a0103e349ed9b690ad6ac3f5915def6975bc68c (diff) | |
download | askbot-b2df0411650b508bd1c394294836fa4b2da994d6.tar.gz askbot-b2df0411650b508bd1c394294836fa4b2da994d6.tar.bz2 askbot-b2df0411650b508bd1c394294836fa4b2da994d6.zip |
moved the "add a comment" button up to save vertical space
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 }}; |