{% extends "forum/base.html" %} {% load forum_markup %} {% block forum_content %}

{% for category in object_list %}

{{ category.title }}

{% if category.description %}

{% text_transform category.description %}

{% endif %} {% if category.num_threads > 0 %}

Fils de discussion: {{ category.num_threads }}

{% else %}

Aucun fil de discussion

{% endif %} {% if category.get_last_thread %}

{{ category.get_last_thread.subject }} - Le {{ category.get_last_thread.modified|date:"d/m/Y à H:i" }} - Par {{ category.get_last_thread.get_last_post.author }}

{% endif %}
{% empty %}

Aucune catégorie

{% endfor %}
{% comment %}{% pagination_tag pagination_url_args %}{% endcomment %} {% include 'forum/pagination.html' %} {% endblock %}