X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/aa9d250fc29ad29a9b7863a6253e906c772df914..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum/skins/default/templates/node/comments.html?ds=sidebyside diff --git a/forum/skins/default/templates/node/comments.html b/forum/skins/default/templates/node/comments.html index 25f04b6..4959db5 100644 --- a/forum/skins/default/templates/node/comments.html +++ b/forum/skins/default/templates/node/comments.html @@ -1,89 +1,56 @@ -{% load extra_tags %} -{% load i18n %} - -
- {% for comment in comments %} - -
-
{% if comment.score %}{{ comment.score }}{% endif %}
-
{{ comment.comment }}
-
- {% if comment.can_like %} - - {% endif %} - {% if comment.can_edit %} - - {% endif %} - {% if comment.can_delete %} - - {% endif %} - {% if comment.can_convert %} - - - {% endif %} - - - ({% diff_date comment.added_at %}) - {{comment.user.decorated_name}} - {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %} -
-
- {% endfor %} -
-
- {% ifnotequal showing total %} - - {% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %} - - {% trans "show all" %} - {% endifnotequal %} - {% if can_comment %} - {% trans "add new comment" %} - {% endif %} -
-
- {% if can_comment %} -
- {% csrf_token %} -
- -
- - {{ min_length }}|{{ max_length }} - {% trans "characters needed" %} - {% trans "characters left" %} - - - -
-
- -
- {% endif %} -
- +{% load extra_tags %} +{% load i18n %} + +{% if show_latest_comments_first %}{% include "node/comment_skeleton.html" %}{% endif %} + +
+ {% for comment in comments %} + +
+
{% if comment.score %}{{ comment.score }}{% endif %}
+
{{ comment.comment }}
+
+ {% if comment.can_like %} + + {% endif %} + {% if comment.can_edit %} + + {% endif %} + {% if comment.can_delete %} + + {% endif %} + {% if comment.can_convert %} + + + {% endif %} + + {% if comment.additional_controls %} + {{ comment.additional_controls }} + {% endif %} + + ({% diff_date comment.added_at %}) + {{comment.user.decorated_name}} + {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %} +
+
+ {% endfor %} +
+
+ {% ifnotequal showing total %} + + {% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %} + + {% blocktrans %}show {{ more_comments_count }} more comments{% endblocktrans %} + {% endifnotequal %} + {% if can_comment %} + {% trans "add new comment" %} + {% endif %} +
+ +{% if not show_latest_comments_first %}{% include "node/comment_skeleton.html" %}{% endif %}