{% extends 'pybb/base.html' %} {% load pybb_tags %} {% load i18n %} {% block title %}{{ topic }}{% endblock %} {% block head %} {{ block.super }} {% include "pybb/markitup.html" %} {% endblock head %} {% block breadcrumb %} {{ block.super }} » {% pybb_link topic.forum.category %} » {% pybb_link topic.forum %} » {{ topic }} {% endblock %} {% block content %}

{{ topic.name }}

{% with _('Posts') as label %} {% include "pybb/pagination/pagination.html" %} {% endwith %}
{% if first_post %}{% ifnotequal first_post post_list.0 %} {% with first_post as post %}
  • {% include "pybb/post_template.html" %}
  • {% endwith %} {% endifnotequal %}{% endif %} {% for post in post_list %} {% include "pybb/post_template.html" %} {% endfor %}
     
    {% with _('Posts') as label %} {% include "pybb/pagination/pagination.html" %} {% endwith %} {% if user.is_authenticated %}
    {% if user.is_moderator %} {% if topic.sticky %} {% trans "Unstick topic" %} / {% else %} {% trans "Stick topic" %} / {% endif %} {% if topic.closed %} {% trans "Open topic" %} / {% else %} {% trans "Close topic" %} / {% endif %} {% if perms.pybb.change_topic and user.is_staff %} {% trans 'Admin' %} / {% endif %} {% comment %} {% trans 'Merge topics' %} / {% endcomment %} {% endif %} {% if user.is_subscribed %} {% trans "Unsubscribe" %} {% else %} {% trans "Subscribe" %} {% endif %}
    {% endif %} {% if user.is_authenticated %} {% if not user.get_profile.is_banned %} {% if not topic.closed %} {% include "pybb/add_post_form.html" %} {% endif %} {% endif %} {% endif %} {% endblock %}