{% if v %} {% include "award_modal.html" %} {% endif %} {% if v and v.admin_level > 1 %} {% endif %} {% include "expanded_image_modal.html" %} {% macro single_comment(c, level=1) %} {% if p and not (v and v.id==c.author_id) and (not v or v.highlightcomments) %} {% endif %} {% set ups=c.upvotes %} {% set downs=c.downvotes %} {% set score=ups-downs %} {% if v and (v.shadowbanned or v.admin_level > 1) %} {% set replies=c.replies3 %} {% else %} {% set replies=c.replies %} {% endif %} {% if (c.is_banned or c.deleted_utc > 0 or c.is_blocking) and not (v and v.admin_level>0) and not (v and v.id==c.author_id) %}
{% if render_replies %} {% if level<10 %}
{% set standalone=False %} {% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif "notifications" in request.path %}
{% set standalone=False %} {% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif replies %} {% endif %} {% endif %}
{% else %} {% set score=c.score %} {% if v %} {% set voted=c.voted %} {% else %} {% set voted=-2 %} {% endif %} {% if standalone and level==1 %}
{% if c.post and c.post.over_18 %}+18{% endif %} {% if c.post %} {% if c.author_id==v.id and c.child_comments and is_notification_page%} Comment {{'Replies' if (c.child_comments | length)>1 else 'Reply'}}: {{c.post.realtitle(v) | safe}} {% elif c.post.author_id==v.id and c.level == 1 and is_notification_page%} Post Reply: {{c.post.realtitle(v) | safe}} {% elif is_notification_page and c.parent_submission in v.subscribed_idlist() %} Subscribed Thread: {{c.post.realtitle(v) | safe}} {% elif is_notification_page %} Username Mention: {{c.post.realtitle(v) | safe}} {% else %} {{c.post.realtitle(v) | safe}} {% endif %} {% elif c.author_id==NOTIFICATIONS_ID or c.author_id==AUTOJANNY_ID %} {{'SITE_NAME' | app_config}} Notification {% else %} {% if c.sentto == 0 %} Sent to admins {% else %} Sent to @{{c.senttouser.username}} {% endif %} {% endif %}
{% endif %}
{% if c.active_flags %}
Reported by:

				
    {% for f in c.ordered_flags %}
  • {{f.user.username}}{% if f.reason %}: {{f.reason | safe}}{% endif %} {% if v and v.admin_level > 1 %}[remove]{% endif %}
  • {% endfor %}
{% endif %} {% if c.is_banned and c.ban_reason %}
removed by @{{c.ban_reason}}
{% endif %}
{{c.realbody(v) | safe}} {% if c.options %} {% for o in c.options %}
{% endfor %}

				{% endif %}

				{% if c.author.sig_html and (c.author_id == 1904 or not (v and v.sigs_disabled)) %}
					
{{c.author.sig_html | safe}} {% endif %} {% if not c.parent_submission and c.author_id!=NOTIFICATIONS_ID and c.author_id!=AUTOJANNY_ID and c.author_id!=v.id %} Reply

					
				{% endif %}
			
{% if c.parent_submission %} {% if v and v.id==c.author_id %} {% endif %}
    {% if v and request.path.startswith('/@') and v.admin_level == 0%} {% if voted==1 %}
  • {% endif %} {% elif v %}
  • {% else %}
  • {% endif %}
  • {{score}}
  • {% if v and request.path.startswith('/@') and v.admin_level == 0 %} {% if voted==-1 %}
  • {% endif %} {% elif v %}
  • {% else %}
  • {% endif %}
  • Votes
  • {% if v %} Give Award Unsave Save Reply {% endif %} Context Copy link {% if v %} Report {% endif %} {% if v and c.parent_submission and c.author_id==v.id %} Edit {% if c.deleted_utc > 0 %} Undelete {% else %} Delete {% endif %} {% endif %} {% if v and v.admin_level > 1 and v.id==c.author_id %} Undistinguish Distinguish {% endif %} {% if v and not v.id==c.author_id%} Unblock user Are you sure? Block user {% endif %} {% if v and c.post and (v.admin_level > 1 or v.id == c.post.author_id) %} Unpin Pin {% endif %} {% if v and v.admin_level > 1 %} {% if "/reported/" in request.path %} Approve Remove {% else %} Approve Remove {% endif %} {% endif %} {% if v and c.parent_submission and (c.author_id==v.id or v.admin_level > 0) %} Unmark +18 Mark +18 {% endif %} {% if v and v.admin_level > 1 and v.id != c.author_id %} Unban user Ban user {% endif %} {% if v and v.admin_level > 1 and c.oauth_app %} API App {% endif %} {% if v and request.path.startswith('/@') and v.admin_level == 0 %} {% if voted==1 %}
  • {% endif %} {% elif v %}
  • {% else %}
  • {% endif %}
  • {{score}}
  • {% if v and request.path.startswith('/@') and v.admin_level == 0 %} {% if voted==-1 %}
  • {% endif %} {% elif v %}
  • {% else %}
  • {% endif %}
{% endif %}
{% if render_replies %} {% if level<10 %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif "notifications" in request.path %}
{% set standalone=False %} {% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif replies %} {% endif %} {% endif %}
{% endif %} {% endmacro %} {% for comment in comments %} {{single_comment(comment)}} {% endfor %} {% if v %} {% include "gif_modal.html" %} {% include "emoji_modal.html" %} {% if v.admin_level > 1 %} {% include "ban_modal.html" %} {% endif %} {% endif %}