{% 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 %}
    {% if node.count_replies > 1 %} {{ node.count_replies }} {{ _('replies') }} {% elif node.count_replies %} {{ node.count_replies }} {{ _('reply') }} {% endif %}
  • {% endfor %} {% set comment_more = comment_count - offset %} {% if comment_more == 1 %} {{ comment_count - offset }} {{ _('comment more') }} {% elif comment_more > 1 %} {{ comment_count - offset }} {{ _('comments more') }} {% endif %}