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

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

{% if user.is_moderator %}
{% endif %} {% get_comment_list topic=topic as comments %} {% paginator_autopaginate comments per_page=COMMENTS_PER_PAGE as page %} {% include "spirit/comment/_render_list.html" %}
{% render_paginator page %}
{% 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 %}