{%- import 'util/macros.html' as macros with context -%} {% if not request.headers.get("xhr") %} {% if focused_comment %} {% endif %} {% if v %} {% include "modals/award.html" %} {% endif %} {% include "popover.html" %} {% endif %} {% set disable_votes = (request.path.startswith('/@') and not wall) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %} {% macro single_comment(c, level=1, collapse=False) %} {% if 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) %}