{% comment %} vim:ft=htmldjango: How to display a Forum list {% endcomment %} {% load humanize %} {% load pybb_extras %} {% load wlprofile_extras %} {% load custom_date %} {% load static %} {# List all forums #} {% for forum in category.forums.all %} {% endfor %}
{% if forum|pybb_has_unreads:user %} {% else %} {% endif %} {{ forum.name }}
{{ forum.description }}
Topics: {{ forum.topics.count }}
Posts: {{ forum.posts.count }}
{% if last_post %} {% with last_post=forum.last_post %} {{ last_post.topic.name }} öhm
by {{ last_post.user|user_link }}
on {{ last_post.created|custom_date:user}}
{% endwith %} {% else %}   {% endif %}