{% extends "forum/base.html" %} {% load i18n crispy_forms_tags forum_markup %} {% block forum_content %}
{% if perms.forum.change_thread %}Modifier ce fil{% endif %} {% if not user.watcher %}Suivre ce fil{% else %} Ne plus suivre ce fil{% endif %}

Messages

{% for post in object_list %}

{{ post.author }}

{% comment %}{{ post.author }}{% endcomment %}

{% if perms.forum.change_post or perms.forum.delete_post %}
{% if perms.forum.change_post %}Modifier{% endif %} {% if not forloop.first and perms.forum.delete_post %}Supprimer{% endif %}
{% endif %}

#{{ forloop.counter }} - {{ post.created|date:"d/m/Y à H:i" }}

{% text_transform post.text %} {% if post.attachment_file %}

Fichier joint :

{{ post.attachment_title }}
{% endif %}
{% endfor %}
{% comment %}{% pagination_tag %}{% endcomment %} {% include 'forum/pagination.html' %} {% if form %}

Nouveau message

{% crispy form %} {% else %}

Ce fil de discussion est fermé en écriture, vous ne pouvez y poster de nouveau message.

{% endif %} {% endblock %}