{% set page_title = forum.title %} {% set active_forum_nav=True %} {% extends theme("layout.html") %} {% block content %} {% from theme('macros.html') import render_pagination, topic_pages %}
{{ render_pagination(topics, forum.url) }}
{% if current_user|post_topic(forum) %}
{% trans %}Mark as Read{% endtrans %} {% if forum.locked %} {% trans %}Locked{% endtrans %} {% else %} {% trans %}New Topic{% endtrans %} {% endif %}
{% endif %} {% for topic, topicread in topics.items %} {% else %} {% endfor %}
{{ forum.title }}
{% trans %}Topic{% endtrans %} {% trans %}Posts{% endtrans %} {% trans %}Views{% endtrans %} {% trans %}Last Post{% endtrans %}
{% if topic.locked %} {% elif topic.important %} {% if topic|topic_is_unread(topicread, current_user, forumsread) %} {% else %} {% endif %} {% else %} {% if topic|topic_is_unread(topicread, current_user, forumsread) %} {% else %} {% endif %} {% endif %}
{{ topic.title }} {{ topic_pages(topic, flaskbb_config["POSTS_PER_PAGE"]) }}
{% trans %}by{% endtrans %} {% if topic.user_id %} {{ topic.user.username }} {% else %} {{ topic.username }} {% endif %}
{{ topic.post_count }} {{ topic.views }} {{ topic.last_post.date_created|time_since }}
{% trans %}by{% endtrans %} {% if topic.last_post.user_id %} {{ topic.last_post.user.username }} {% else %} {{ topic.last_post.username }} {% endif %}
{% trans %}No topics.{% endtrans %}
{% endblock %}