{% extends "tinyforum/base.html" %} {% load fineforms i18n static %} {% block extra-body-class %}forum{% endblock %} {% block title %}{{ thread }} - {% trans 'Forum' %} - {{ block.super }}{% endblock %} {% block main-region %}

{{ thread }}

{% trans 'Back to thread list' %} {% if user == thread.authored_by.profile.user or user.profile.has_moderation_powers %} {% trans 'Update thread' %} {% endif %}
{% trans 'Author' %}
{% trans 'Message' %}
{% for post in object_list %}

#{{ forloop.counter }} {% trans 'Post by' %} {{ post.authored_by.profile }}

{% trans 'Created at' %}:
{% if post.moderation_status == 'collapsed' %}

{% blocktrans %} This post has been collapsed by a moderator. {% endblocktrans %}

{% trans "Show post" %}
{{ post.text|safe }}
{% else %} {{ post.text|safe }} {% endif %}
{% empty %}

{% blocktrans %} This thread is empty. Be the first one who posts something about this topic. {% endblocktrans %}

{% endfor %} {% include "tinyforum/pagination.html" %} {% if form %}

{% trans "Write a post" %}

{% csrf_token %} {{ form.media }} {% ff_errors form %} {{ form.text.label_tag }} {% ff_field form.text type='field-plain' %} {{ form.text.errors }}
{% elif thread.closed_at %}

{% trans 'This thread is closed.' %}

{% endif %}
{% endblock %}