{% set logged_in = request.user.is_authenticated %} {% set profile = request.profile if logged_in else None %} {% for node in mptt_tree(comment_list) recursive %}
  • {% if logged_in %} {% else %} {% endif %}
    {{ node.score }}
    {% if logged_in %} {% else %} {% endif %}
    {% with author=node.author, user=node.author.user %} {% endwith %} {{ link_user(node.author) }},  {{ relative_time(node.time, abs=_('{time}'), rel=_('{time}')) }} {% if node.revisions > 1 %} {% if node.revisions > 2 %} {% trans edits=node.revisions - 1 %}edit {{ edits }}{% endtrans %} {% else %} {{ _('edited') }} {% endif %} {% else %} {% endif %} {% if logged_in and not comment_lock %} {% set can_edit = node.author.id == profile.id and not profile.mute %} {% if can_edit %} {% else %} {% endif %} {% if perms.judge.change_comment %} {% if can_edit %} {% else %} {% endif %} {% endif %} {% endif %}
    {% if node.score <= vote_hide_threshold %}

    {% trans id=node.id %}This comment is hidden due to too much negative feedback. Click here to view it.{% endtrans %}

    {% endif %}
    {% set count_replies=node.count_replies %} {% if count_replies %} {{ count_replies }} {% trans trimmed count=count_replies %} reply {% pluralize count %} replies {% endtrans %} {% endif %}
  • {% with children=node.get_children() %} {% if children %} {% else %} {% endif %} {% endwith %} {% endfor %} {% if comment_more > 0 %} {{ comment_more }} {% trans trimmed count=comment_more %} more comment {% pluralize count %} more comments {% endtrans %} {% endif %}