{% extends 'booru/base.html' %} {% load staticfiles %} {% block css %} {% endblock %} {% block ld_json %} {% endblock %} {% block scripts %} {% endblock %} {% block body %} {% load humanize %} {% load number_converter %} {% load markdown_deux_tags %} {% load permission_tags %} {% load crispy_forms_tags %}
{% if post.status == 2 %} {% elif post.status == 3 %} {% endif %}
{% if post.get_parent %}
{% endif %} {% if post.get_siblings %}
{% for sibling in post.get_siblings %} {% endfor %}
{% endif %} {% if post.get_children %}
{% for child in post.get_children %} {% endfor %}
{% endif %}
{% if user|can:'change_status' or not post.status == 3 %} {% if EMBED_MODE == False %} {% if post.media_type == 0 %} {{ post.tags_mirror }} {% elif post.media_type == 1 %} {% endif %} {% else %} {{post.get_embed_code |safe }} {% endif %} {% endif %}
{% if request.user.show_comments or not user.is_authenticated %} {% endif %} {% if user|can:'change_status' %} {% endif %}
{% if post.description %}
Description

{{post.description|markdown}}

{% endif %}
{% if request.user.show_comments or not user.is_authenticated %}
{% for comment in post.comments.all %} {% if not comment.is_hidden or user|can:'manage_comments' %}
{% if comment.author.is_deleted %}
{{comment.author.get_name}}
{% else %}
{{comment.author.get_name}}
{% endif %}
{{comment.timestamp|naturaltime}}
Score: {{comment.get_score}}
{% if comment.is_hidden %}
Comment is hidden
{% endif %}
{{comment.content|markdown}}
{% if user|can:'manage_comments' %}
{% if comment.is_hidden %} Show {% else %} Hide {% endif %}
{% endif %}
{% endif %} {% endfor %}
{% if not user.is_authenticated %}
{% endif %} {% csrf_token %}
{% if not user.is_authenticated %} {% else %} {% endif %}
{% if can_comment %} {% endif %} {% if not user.is_authenticated %}
{% endif %}
{% endif %}
{% endblock %}