{% extends "base.html" %} {% from 'bootstrap/form.html' import render_form %} {% block app_content %}
{% include 'community/_post_full.html' %} {% if post.comments_enabled %}
{{ render_form(form) }}

{% else %}

{{ _('Comments are disabled for this post.') }}

{% endif %}
{% macro render_comment(comment) %}
{% with comment=comment['comment'] %} {% include "community/_voting_buttons.html" %} {% endwith %}
{% if comment['comment'].author.avatar_id %} Avatar {% endif %} {{ comment['comment'].author.user_name }} {% if comment['comment'].author.id == post.author.id %}[S]{% endif %} {{ moment(comment['comment'].posted_at).fromNow(refresh=True) }}
{{ comment['comment'].body_html | safe }}
{% if comment['replies'] %} {% if comment['comment'].depth <= THREAD_CUTOFF_DEPTH %}
{% for reply in comment['replies'] %} {{ render_comment(reply) | safe }} {% endfor %}
{% else %} {% endif %} {% endif %}
{% endmacro %}
{% for reply in replies %} {{ render_comment(reply) | safe }} {% endfor %}
{% if current_user.is_authenticated and current_user.subscribed(post.community) %} {{ _('Unsubscribe') }} {% else %} {{ _('Subscribe') }} {% endif %}

{{ _('About community') }}

{{ post.community.description|safe }}

{{ post.community.rules|safe }}

{% if len(mods) > 0 and not post.community.private_mods %}

Moderators

    {% for mod in mods %}
  1. {{ mod.user_name }}
  2. {% endfor %}
{% endif %}
{% if is_moderator %}

{{ _('Community Settings') }}

{% endif %}
{% endblock %}