- <table class="comment{% if not comment.top_scorer %} not_top_scorer{% endif %}" id="comment-{{comment.id}}">\r
- <tr>\r
- <td rowspan="2" class="comment-score" id="comment-{{ comment.id }}-score">\r
- {% if comment.score %}{{ comment.score }}{% endif %}\r
- </td>\r
- <td class="comment-text" id="comment-{{comment.id}}-text">\r
- {{ comment.body }}\r
- </td>\r
- </tr>\r
- <tr>\r
- <td class="comment-info" id="comment-{{comment.id}}-info">\r
- <a class="comment-user userinfo" href="{{comment.user.get_profile_url}}">{{comment.user}}</a>\r
- <span class="comment-age">({% diff_date comment.added_at %})</span>\r
- {% if comment.can_like %}\r
- <a id="comment-{{ comment.id }}-like" href="{% url like_comment id=comment.id %}"\r
- title="{% trans "I like this comment (click again to cancel)" %}" class="ajax-command comment-like{% if comment.likes %} on{% endif %}"\r
- rel="nofollow"> </a>\r
- {% endif %}\r
- {% if comment.can_edit %}\r
- <a id="comment-{{ comment.id }}-edit" href="#" title="{% trans "Edit comment" %}"\r
- class="comment-edit" rel="nofollow"> </a>\r
- {% endif %}\r
- {% if comment.can_delete %}\r
- <a id="comment-{{ comment.id }}-delete" href="{% url delete_comment id=comment.id %}" title="{% trans "Delete comment" %}"\r
- class="ajax-command comment-delete" rel="nofollow"> </a>\r
- {% endif %}\r
- </td>\r
- </tr>\r
- </table>\r
+ <div class="comment{% if not comment.top_scorer %} not_top_scorer{% endif %}" id="comment-{{comment.id}}">\r
+ <div id="post-{{ comment.id }}-score" class="comment-score">{% if comment.score %}{{ comment.score }}{% endif %}</div>\r
+ <div class="comment-text">{{ comment.comment }}</div>\r
+ <div class="comment-info" id="comment-{{comment.id}}-info">\r
+ {% if comment.can_like %}\r
+ <a id="post-{{ comment.id }}-upvote" href="{% url like_comment id=comment.id %}"\r
+ title="{% trans "I like this comment (click again to cancel)" %}" class="ajax-command comment-like{% if comment.likes %} on{% endif %}"\r
+ rel="nofollow"> </a>\r
+ {% endif %}\r
+ {% if comment.can_edit %}\r
+ <a id="comment-{{ comment.id }}-edit" href="{% url node_markdown id=comment.id %}" title="{% trans "Edit comment" %}"\r
+ class="comment-edit" rel="nofollow"> </a>\r
+ {% endif %}\r
+ {% if comment.can_delete %}\r
+ <a id="comment-{{ comment.id }}-delete" href="{% url delete_comment id=comment.id %}" title="{% trans "Delete comment" %}"\r
+ class="ajax-command comment-delete confirm" rel="nofollow"> </a>\r
+ {% endif %}\r
+ {% if comment.can_convert %}\r
+ <a rel="nofollow" id="comment-{{ comment.id }}-convert" href="{% url convert_comment id=comment.id %}" title="{% trans "Convert comment to answer" %}"\r
+ class="ajax-command comment-convert confirm" rel="nofollow"> </a>\r
+ {% endif %}\r
+ \r
+\r
+ <span class="comment-age">({% diff_date comment.added_at %})</span>\r
+ <a class="comment-user userinfo" href="{{comment.user.get_profile_url}}">{{comment.user.decorated_name}}</a>\r
+ {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %}\r
+ </div>\r
+ </div>\r