<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" %}"\r
class="comment-convert-to-question" rel="nofollow"> </a>\r
{% endif %}\r
- \r
+\r
+ {% if comment.additional_controls %}\r
+ {{ comment.additional_controls }}\r
+ {% endif %}\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
\r
return {'controls': controls, 'menu': menu, 'post': post, 'user': user}\r
\r
-@register.inclusion_tag('node/comments.html')\r
-def comments(post, user):\r
+def _comments(post, user):\r
all_comments = post.comments.filter_state(deleted=False)\\r
.order_by('-added_at' if settings.SHOW_LATEST_COMMENTS_FIRST else 'added_at')\r
\r
'user': user,\r
}\r
\r
+@register.inclusion_tag('node/comments.html')\r
+def comments(post, user):\r
+ return _comments(post, user)\r
\r
@register.inclusion_tag("node/contributors_info.html")\r
def contributors_info(node, verb=None):\r