{%- import 'util/helpers.html' as help -%} {% if not request.headers.get("xhr") %} {% if comment_info %} {% endif %} {% if v %} {% include "award_modal.html" %} {% endif %} {% include "popover.html" %} {% endif %} {% macro single_comment(c, level=1, collapse=False) %} {% set ups=c.upvotes %} {% set downs=c.downvotes %} {% set score=ups-downs %} {% if render_replies %} {% if v and (v.shadowbanned or v.admin_level >= PERMS['USER_SHADOWBAN']) %} {% set replies=c.replies3(sort) %} {% else %} {% set replies=c.replies(sort) %} {% endif %} {% endif %} {% if c.is_blocking and not c.ghost or (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) %}