{% extends "content_list.html" %} {% load i18n inlinetrans datefilters %} {% block listingclass %}{{ block.super }} forumList {% endblock %} {% block pagetitle %}{% trans "Forums" %}{% endblock %} {% block extrabreadcrumbs %} {% inline_trans "Forums" %} {% endblock %} {% block listtitle %}{% inline_trans "Forums" %}{% endblock %} {% load pagination_tags inlinetrans content_tags %} {% block listing %} {% regroup content_list by category as category_list %} {% for category in category_list %} {% for forum in category.list %} {% endfor %}
{{ category.grouper.name }} {% inline_trans "Threads" %} {% inline_trans "Messages" %} {% inline_trans "Last message" %}
{% cutrender 100 %}{{ forum }}{% endcutrender %} {{ forum.description|safe }} {{ forum.thread_set.count }} {{ forum.get_all_comments.count }} {% with forum.get_last_comment as comment %} {% if comment %} {{ comment.title }}
{{ comment.date_submitted|transdate }} {% inline_trans "by" %} {{ comment.user.get_full_name|default:comment.user.username }} {% endif %} {% endwith %}
{% endfor %} {% endblock %}