{% extends 'pybb/base.html' %} {% load pybb_extras %} {% load i18n %} {% block title %} {{ topic.name }} - {{ topic.forum.name }} - {{ block.super }} {% endblock title %} {% block content %} {% pybb_pagination _('Posts') %}
Author Message
{% if first_post %} {% ifnotequal first_post posts.0 %} {% with first_post as post %}
{% include "pybb/inlines/post.html" %}
{% endwith %} {% endifnotequal %} {% endif %} {% for post in posts %}
{% include "pybb/inlines/post.html" %}
{% endfor %}
{% pybb_pagination _('Posts') %}
{% if moderator %} {% if topic.sticky %} {% trans "Unstick topic" %} {% else %} {% trans "Stick topic" %} {% endif %} | {% if topic.closed %} {% trans "Open topic" %} {% else %} {% trans "Close topic" %} {% endif %} | {% endif %} {% comment %} TODO: subscribe {% if user.is_authenticated %} {% if subscribed %} {% trans "Unsubscribe" %} {% else %} {% trans "Subscribe" %} {% endif %} {% endif %} {% endcomment %}
{% if user.is_authenticated %} {% if not topic.closed %} {% include "pybb/inlines/add_post_form.html" %} {% endif %} {% endif %} {% endblock %}