{% set page_title = forum[0].title ~ " - Forum" %} {% set active_forum_nav=True %} {% extends "layout.html" %} {% block content %} {% from 'macros.html' import render_pagination, topic_pages %} {% if forum.topics %}
{{ render_pagination(topics, url_for('forum.view_forum', forum_id=forum[0].id)) }}
{% endif %} {% if current_user|post_topic(forum[0]) and not forum[0].is_category %}
Mark as Read {% if forum.locked %} Locked {% else %} New Topic {% endif %}
{% endif %} {% if not forum[0].is_category %} {% for topic, topicread in topics.items %} {% else %} {% endfor %}
{{ forum[0].title }}
Topic Posts Views Last Post
{% if topic.locked %} {% else %} {% if topic|topic_is_unread(topicread, current_user, forum[1]) %} {% else %} {% endif %} {% endif %}
{{ topic.title }} {{ topic_pages(topic, config["POSTS_PER_PAGE"]) }}
by {{ topic.user.username }}
{{ topic.post_count }} {{ topic.views }} {{ topic.last_post.date_created|time_since }}
by {{ topic.last_post.user.username }}
No Topics so far.
{% endif %} {% endblock %}