X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/3ba9e8fa774dcb586990f71986d8618631f3e5b1..9f1d9b668a5de15e370dc0cd85997f458bbb2c98:/forum/skins/default/templates/node/comments.html diff --git a/forum/skins/default/templates/node/comments.html b/forum/skins/default/templates/node/comments.html index f67e079..a84ef89 100644 --- a/forum/skins/default/templates/node/comments.html +++ b/forum/skins/default/templates/node/comments.html @@ -1,6 +1,8 @@ {% load extra_tags %} {% load i18n %} +{% if show_latest_comments_first %}{% include "node/comment_skeleton.html" %}{% endif %} +
{% for comment in comments %} @@ -27,7 +29,10 @@ {% endif %} - + + {% if comment.additional_controls %} + {{ comment.additional_controls }} + {% endif %} ({% diff_date comment.added_at %}) {{comment.user.decorated_name}} @@ -41,55 +46,11 @@ {% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %} - {% trans "show all" %} + {% blocktrans %}show {{ more_comments_count }} more comments{% endblocktrans %} {% endifnotequal %} {% if can_comment %} {% trans "add new comment" %} {% endif %}
-
- {% if can_comment %} -
- {% csrf_token %} -
- -
- - {{ min_length }}|{{ max_length }} - {% trans "characters needed" %} - {% trans "characters left" %} - - - -
-
- {% if user.can_use_canned_comments %} - - {% endif %} -
- -
- {% endif %} -
- +{% if not show_latest_comments_first %}{% include "node/comment_skeleton.html" %}{% endif %}