{% extends "spirit/_base.html" %} {% load spirit_tags i18n %} {% block title %}{{ topic.title }}{% endblock %} {% block content %} {% spaceless %} {% endspaceless %}

{% if topic.is_pinned or topic.is_globally_pinned %} {% endif %} {% if topic.is_closed %} {% endif %} {{ topic.title }} {% if user.st.is_moderator %} {% trans "edit" %} {% elif user.pk == topic.user.pk and not topic.is_closed %} {% trans "edit" %} {% endif %}

{% if user.st.is_moderator %}
{% spaceless %}
{% endspaceless %}
{% endif %} {% include "spirit/comment/_render_list.html" %}
{% render_paginator page=comments %}
{% if user.is_authenticated %} {% render_notification_form user=user topic=topic %} {% elif not topic.is_closed %} {% trans "Reply" %} {% endif %}
{% if user.is_authenticated %} {% if not topic.is_closed %}
{% render_comments_form topic=topic %}
{% endif %} {% endif %} {% endblock %}