{%- import 'util/macros.html' as macros with context -%} {% if not request.headers.get("xhr") %} {% if comment_info %} {% endif %} {% if v %} {% include "modals/award.html" %} {% endif %} {% include "popover.html" %} {% endif %} {% macro single_comment(c, level=1, collapse=False) %} {% if user_can_see(v, c) %} {% set ups=c.upvotes %} {% set downs=c.downvotes %} {% set score=ups-downs %} {% if render_replies %} {% set replies=c.replies(sort=sort) %} {% endif %} {% if (c.is_banned or c.deleted_utc) and not (v and v.admin_level >= PERMS['POST_COMMENT_MODERATION']) and not (v and v.id==c.author_id) %}