{% comment %} vim:ft=htmldjango: How to display a Forum list {% endcomment %} {% load humanize %} {% load pybb_extras %} {% load wlprofile_extras %} {% load custom_date %} {# 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 forum.last_post %} {{ forum.last_post.topic.name }}
by {{ forum.last_post.user|user_link }}
on {{ forum.last_post.created|custom_date:user}}
{% else %}   {% endif %}