{% extends 'pybb/base.html' %} {% load pybb_extras %} {% load i18n %} {% load wlprofile_extras %} {% load custom_date %} {% load pagination_tags %} {% load static %} {% block title %} {{ topic.name }} - {{ topic.forum.name }} - {{ block.super }} {% endblock title %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content_header %}

Topic: {{ topic }}

{% endblock %} {% block content_main %}
{% if topic.is_hidden %}

This topic is hidden. It is either waiting for a review or was hidden by a moderator.

{% if posts.0.is_spam and user_is_mod %}

This topic's first post is possible spam. Toggle the visibility to show the post. If it is indeed spam, consider deleting the user:

To delete the user, go to the admin user-page for the post's author

{% endif %}
{% if user_is_mod %} {% trans "Toggle Visibility" %} {% endif %} {% else %}
{% if user_is_mod %} {% trans "Toggle Visibility" %} {% if topic.sticky %} {% trans "Unstick Topic" %} {% else %} {% trans "Stick Topic" %} {% endif %} {% if topic.closed %} {% trans "Open Topic" %} {% else %} {% trans "Close Topic" %} {% endif %} {% endif %} {% if user.is_authenticated %} {% if subscribed %} {% trans "Unsubscribe" %} {% else %} {% trans "Subscribe" %} {% endif %} {% trans "New Reply" %} {% endif %}
{% autopaginate posts page_size as object_list %} {% paginate using "pagination/pagination_mod.html" %} {% for post in object_list %} {% include 'pybb/inlines/post.html' %} {% if not forloop.last %} {# no spacer at end of table #} {% endif %} {% endfor %}
{% if user_is_mod %} {% trans "Toggle Visibility" %} {% if topic.sticky %} {% trans "Unstick Topic" %} {% else %} {% trans "Stick Topic" %} {% endif %} {% if topic.closed %} {% trans "Open Topic" %} {% else %} {% trans "Close Topic" %} {% endif %} {% endif %} {% if user.is_authenticated %} {% if subscribed %} {% trans "Unsubscribe" %} {% else %} {% trans "Subscribe" %} {% endif %} {% trans "New Reply" %} {% endif %}
{% paginate %}
{% if user.is_authenticated %} {% if not topic.closed %} {% include "pybb/inlines/add_post_form.html" %} {% endif %} {% endif %} {% endif %} {% endblock %}