4 {% if show_latest_comments_first %}{% include "node/comment_skeleton.html" %}{% endif %}
 
   6 <div class="comments-container" id="comments-container-{{ post.id }}">
 
   7     {% for comment in comments %}
 
   8         <a name="{{ comment.id }}"></a>
 
   9         <div class="comment{% if not comment.top_scorer %} not_top_scorer{% endif %}" id="comment-{{comment.id}}">
 
  10             <div id="post-{{ comment.id }}-score" class="comment-score">{% if comment.score %}{{ comment.score }}{% endif %}</div>
 
  11             <div class="comment-text">{{ comment.comment }}</div>
 
  12             <div class="comment-info" id="comment-{{comment.id}}-info">
 
  13                 {% if comment.can_like %}
 
  14                     <a id="post-{{ comment.id }}-upvote" href="{% url "like_comment" id=comment.id %}"
 
  15                      title="{% trans "I like this comment (click again to cancel)" %}" class="ajax-command comment-like{% if comment.likes %} on{% endif %}"
 
  18                 {% if comment.can_edit %}
 
  19                     <a id="comment-{{ comment.id }}-edit" href="{% url "node_markdown" id=comment.id %}" title="{% trans "Edit comment" %}"
 
  20                         class="comment-edit" rel="nofollow"> </a>
 
  22                 {% if comment.can_delete %}
 
  23                     <a id="comment-{{ comment.id }}-delete" href="{% url "delete_comment" id=comment.id %}" title="{% trans "Delete comment" %}"
 
  24                         class="ajax-command comment-delete confirm" rel="nofollow"> </a>
 
  26                 {% if comment.can_convert %}
 
  27                     <a rel="nofollow" id="comment-{{ comment.id }}-convert" href="{% url "convert_comment" id=comment.id %}" title="{% trans "Convert comment to answer" %}"
 
  28                         class="ajax-command comment-convert confirm" rel="nofollow"> </a>
 
  29                     <a rel="nofollow" id="comment-{{ comment.id }}-convert-to-question" href="{% url "convert_to_question" id=comment.id %}?node_type=comment" title="{% trans "Convert comment to question" %}"
 
  30                         class="comment-convert-to-question" rel="nofollow"> </a>
 
  33                 {% if comment.additional_controls %}
 
  34                     {{ comment.additional_controls }}
 
  37                 <span class="comment-age">({% diff_date comment.added_at %})</span>
 
  38                 <a class="comment-user userinfo" href="{{comment.user.get_profile_url}}">{{comment.user.decorated_name}}</a>
 
  39                 {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %}
 
  44 <div id="comment-tools-{{ post.id }}" class="comment-tools">
 
  45     {% ifnotequal showing total %}
 
  46         <span class="comments-showing">
 
  47             {% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %}
 
  49         <a href="#" class="show-all-comments-link">{% blocktrans %}show {{ more_comments_count }} more comments{% endblocktrans %}</a>
 
  52         <a href="#" class="add-comment-link">{% trans "add new comment" %}</a>
 
  56 {% if not show_latest_comments_first %}{% include "node/comment_skeleton.html" %}{% endif %}