{% macro single_comment(c, level=1) %} {% set ups=c.upvotes %} {% set downs=c.downvotes %} {% set score=ups-downs %} {% include "emoji_modal.html" %} {% if (c.is_banned or c.deleted_utc > 0 or c.is_blocking or c.is_blocked) and not (v and v.admin_level>0) and not (v and v.id==c.author_id) %}
{% if c.is_banned and c.ban_reason %}Reason: {{c.ban_reason}}{% endif %}
{% if render_replies %} {% if level<6 %}
{% set standalone=False %} {% for reply in c.children(v) %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif c.children(v) %}
{% set standalone=False %} {% for reply in c.children(v) %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% endif %} {% endif %}
{% else %} {% set score=c.score %} {% if v %} {% set voted=c.voted %} {% set adjust = voted %} {% else %} {% set voted=-2 %} {% set adjust=0 %} {% endif %} {% if standalone and level==1 %}
{% if c.post and c.post.over_18 %}+18{% endif %} {% if c.parent_submission %} {% 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.title | safe}} {% elif c.post.author_id==v.id and c.level == 1 and is_notification_page%} Post Reply: {{c.post.title | safe}} {% elif is_notification_page and c.parent_submission in v.subscribed_idlist() %} Subscribed Thread: {{c.post.title | safe}} {% elif is_notification_page %} Username Mention: {{c.post.title | safe}} {% else %} {{c.post.title | safe}} {% endif %} {% elif c.author_id==1046 or c.author_id==2360 %} Drama Notification {% else %} Private Message {% endif %}
{% endif %}
{% if c.is_banned and c.ban_reason %}
Reason: {{c.ban_reason}}
{% endif %}
{{c.realbody(v) | safe}} {% if not c.parent_submission and c.author_id!=1046 and c.author_id!=2360 and c.author_id!=v.id %} Reply

					

						
						 
						
						 
						
						 
						
						 
						
						 
						
					
{% endif %}
{% if c.parent_submission %} {% if v and v.id==c.author_id %} {% endif %} {% if c.flags %}
Reported by:

				
			
{% 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 and c.id in v.saved_comment_idlist() %}
  • Unsave
  • {% else %}
  • Save
  • {% endif %} {% if v %}
  • Reply
  • {% if v.id!=c.author_id %}
  • Give Award
  • {% endif %} {% endif %}
  • Context
  • Copy link
  • {% if v and v.admin_level>=3 and request.path.startswith ('/admin') %}
  • Remove
  • Approve
  • {% 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<6 %}
{% for reply in c.children(v) %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif c.children(v) %}
{% for reply in c.children(v) %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% endif %} {% endif %}
{% endif %} {% endmacro %} {% for comment in comments %} {{single_comment(comment)}} {% endfor %}