{% extends "posts/show/layout.html" %} {% load static %} {% load posts %} {% load battle %} {% load text_filters %} {% block post %}
{% if post.room %}
{% include "rooms/widgets/room.html" with room=post.room type="post" %}
{% endif %} {% if post.deleted_at %}
Удалённый пост
{% elif not post.is_visible %}
{% include "posts/widgets/draft_label.html" %}
{% endif %}
{{ post.metadata.battle.sides.a.name | rutypography }}
или
{{ post.metadata.battle.sides.b.name | rutypography }}
{% include "posts/widgets/publicity_preferences.html" with post=post %} {% include "posts/widgets/post_actions_line.html" %}
{% render_post post %}
{% if post.metadata.badges %}
{% include "badges/widgets/badges.html" with badges=post.metadata.badges %} {% endif %} {% endblock %} {% block comments %}
{% battle_stats post comments %} {% if me and me.is_active_membership %} подписка на аргументы {% endif %} {% if not post.comment_count and post.is_commentable and post.is_visible %}
Аргументируйте первым 👇
{% endif %} {% if comments %}
{% include "comments/list.html" with comments=comments reply_form=reply_form type="battle" %}
{% endif %} {% if me and me.is_active_membership and post.is_commentable and post.is_visible or me.is_moderator %}
{% include "comments/forms/battle.html" with post=post form=comment_form save_message="Отправить" %}
Этикет батлов:
{% endif %}
{% endblock %}