{% load url from future %} {% load i18n pybb_tags humanize %}

{{ forum.name }}

{% if user.is_staff or user.is_superuser %} {% endif %} {% if forum.headline %}
{{ forum.headline|safe }}
{% endif %} {% include "pybb/pagination.html" %} {% with forums=forum.forums_accessed|pybb_forum_unread:user %} {% if forums %} {% for forum in forums %} {% endfor %}
{% trans "Forum" %} {% trans "Last post" %}
{{ forum.name }} {% if forum.hidden %}[{% trans "Hidden" %}]{% endif %}
{{ forum.description|safe }}
{% blocktrans count forum.topic_count as counter %}{{ counter }} topic{% plural %}{{ counter }} topics{% endblocktrans %} {% blocktrans count forum.post_count as counter %}{{ counter }} post{% plural %}{{ counter }} posts{% endblocktrans %}
{% if forum.last_post %} {% with last_post=forum.last_post %}
{{ last_post.topic.name }}
{% blocktrans with username=last_post.user %}by {{ username }}{% endblocktrans %}
{{ last_post.created|naturaltime }} {% endwith %} {% endif %}
{% endif %} {% endwith %} {% if topic_list %} {% for topic in topic_list|pybb_topic_unread:user %} {% endfor %}
{% trans "Topic" %} {% trans "Posts" %} {% trans "Views" %} {% trans "Last post" %}
{{ topic.name|truncatewords:10 }} {% if topic.sticky %}  [{% trans "Sticky" %}] {% endif %} {% if topic.closed %}  [{% trans "Closed" %}] {% endif %} {% if topic.deleted %}  [{% trans "Deleted" %}] {% endif %} {% with topic|pybb_topic_inline_pagination as pages %} {% if pages|length > 1 %} {% trans "pages" %}: {% for page in pages %} {% if page == "..." %} ... {% else %} {{ page }} {% endif %} {% endfor %} {% endif %} {% endwith %}
{{ topic.post_count }} {{ topic.views }} {% if topic.updated %} {{ topic.updated|naturaltime }} {% endif %}
{% with last_post=topic.last_post %} {% if last_post %} {% blocktrans with username=last_post.user %}by {{ username }}{% endblocktrans %} {% endif %} {% endwith %}
{% endif %}