{% set page_title = forum.title %} {% set active_forum_nav=True %} {% extends theme("layout.html") %} {% block content %} {% from theme('_macros/pagination.html') import render_pagination, topic_pages %}
{{ render_pagination(topics, forum.url) }}
{% if current_user|post_topic(forum) %}
{% if forum.locked %} {% trans %}Locked{% endtrans %} {% else %} {% trans %}New Topic{% endtrans %} {% endif %}
{% endif %}
{% include theme("forum/_forum_meta.html") %} {% for topic, last_post, topicread in topics.items %} {% include theme("forum/_forum_row.html") %} {% else %}
{% trans %}No Topics.{% endtrans %}
{% endfor %}
{% if current_user|can_moderate(forum) %}
{% endif %}
{% endblock %}