{# vim: set ts=2 et sts=2 sw=2: #} {% extends "forums/base.html" %} {% set title = _('Forums') %} {% set crumbs = [(None, title)] %} {% block content %}

{{ title }}

  1. {{ _('Name') }}
  2. {{ _('Threads') }}
  3. {{ _('Last Post') }}
{% if forums.object_list %}
    {% for forum in forums.object_list %}
  1. {{ forum.name }}
    {{ forum.description|safe }}
    {{ forum.thread_set.count() }}
    {% if forum.last_post %} {{ datetimeformat(forum.last_post.created) }}
    {{ _('by {username}')|fe(profile_url=profile_url(forum.last_post.author), username=forum.last_post.author.username) }} {% else %} {# Not localized because it's not worth localizers time. #} No posts. {% endif %}

  2. {% endfor %}
{{ forums|paginator }} {% else %}{# if forums #} {# Not localized because it's not worth localizers time. #}

There are no forums. You should create some!

{% endif %}
{% endblock %}