{% extends "layout.html" %} {% load static %} {% load posts %} {% load text_filters %} {% block title %} {% if post.prefix %}{{ post.prefix }} {% endif %}{{ post.title }}{% if post.room %} [{{ post.room.title }}]{% endif %} — {{ block.super }} {% endblock %} {% block og_tags %} {% endblock %} {% block content %} {% block post %}
{{ post }}
{% endblock %} {% block pre_comments %} {% if linked_posts %} {% include "posts/widgets/linked_posts.html" %} {% endif %} {% endblock %}
{% block comments %}
{% if post.comment_count > 0 %} {{ post.comment_count }} {{ post.comment_count | rupluralize:"комментарий,комментария,комментариев" }} 👇
{% elif post.is_commentable %} Откомментируйте первым 👇 {% endif %}
{% if me and me.is_active_membership %} подписка на комментарии {% endif %}
{% if comments %}
{% include "comments/list.html" with comments=comments reply_form=reply_form type="normal" muted_user_ids=muted_user_ids %}
{% endif %} {% if me and me.is_active_membership and post.is_commentable and post.is_visible or me.is_moderator %}
{% include "comments/forms/comment.html" with post=post form=comment_form save_message="Отправить"%}
  • 🤬 Помните, что за оскорбление других участников, пассивную агрессию, недружелюбность и прочие нарушения правил этикета — будет бан
  • ☝️ Если кто-то ведёт себя плохо — скажите ему. Если он продолжает, позовите @moderator
  • 👀 Автор поста может и должен модерировать срачи в комментариях
  • 🥰 Не душните, расслабьтесь и будьте сладкими пирожочками
  • ✍️ Можно использовать Markdown
{% endif %}
{% endblock %} {% if me and not post.is_commentable %} {% include "posts/widgets/not_commentable.html" %} {% endif %} {% if me and not me.is_active_membership %} {% include "posts/widgets/membership_expired.html" %} {% endif %} {% if not me %} {% include "posts/widgets/join_the_club.html" %} {% endif %}
{% endblock %}