{* vim: set et ai ts=2 sw=2 enc=utf-8: *} {% for forum in forums %} {% cycle cls through "row1", "row2" %} {% if not forum.is_external_link %}
{* *}{{ forum.name|e }}{* *}
{% if forum.description %}
{{ forum.description|e }}
{% if forum.subforums %}

{% trans "Subforums" %}:

{% for sf in forum.subforums %} {{ sf.name|e }}{% if not loop.last %}, {% endif %} {% endfor %}
{% endif %} {% endif %} {{ forum.thread_count }}/{{ forum.post_count }} {% if forum.last_post %} {{ forum.last_post.title|e }} by {% if forum.last_post.author.registered %} {{ forum.last_post.author.username|e }}
{% else %} {{ forum.last_post.author.username|e }}
{% endif %} {{ forum.last_post.timestamp|timedeltaformat }} {% else %} {% trans "No posts" %} {% endif %} {% else %}
{* *}{{ forum.name|e }}{* *}
{% if forum.description %}
{{ forum.description|e }}
{% endif %} {% endif %} {% endfor %}