{% extends "root.html" %} {% block head %} Post - {{ config.name }} {% endblock %} {% block body %} {{ macros::nav() }}
{% if post.replying_to %} {{ icon "arrow-up" }} {{ text "communities:action.continue_thread" }} {% endif %}
{% if post.context.repost and post.context.repost.reposting %} {{ components::repost(repost=reposting, post=post, owner=owner, community=community, show_community=true, can_manage_post=can_manage_posts) }} {% else %} {{ components::post(post=post, owner=owner, community=community, show_community=true, can_manage_post=can_manage_posts) }} {% endif %}
{% if user and post.context.comments_enabled %}
{{ text "communities:label.create_reply" }}
{% endif %} {% if user and user.id == post.owner or can_manage_posts %}
{{ icon "newspaper" }} {{ text "communities:label.replies" }} {% if user.id == post.owner %} {{ icon "pen" }} {{ text "communities:label.edit_content" }} {% endif %} {{ icon "settings" }} {{ text "communities:action.configure" }}
{% if user.id == post.owner %} {% endif %} {% endif %}
{{ icon "newspaper" }} {{ text "communities:label.replies" }}
{% for post in replies %} {{ components::post(post=post[0], owner=post[1], secondary=true, show_community=false) }} {% endfor %} {{ components::pagination(page=page, items=replies|length) }}
{% endblock %}