{% extends theme("layout.html") %} {% set page_title = topic.title ~ " - Topic" %} {% set active_forum_nav=True %} {% block content %} {% from theme('macros.html') import render_pagination, form_field %} {% include 'forum/topic_controls.html' %} {% for post, user in posts.items %} {% endfor %}
#{%- if posts.page == 1 -%} {{ loop.index }} {%- else -%} {{ loop.index + (posts.page - 1) * flaskbb_config["POSTS_PER_PAGE"] }} {%- endif -%} {{ post.date_created|format_date('%d %B %Y') }} {% if post.user_id and post.date_modified %} (Last modified: {{ post.date_modified|format_date }} by {{ post.modified_by }} .) {% endif %}
topics {% if post.user_id %} {% if user.avatar %} {% endif %} {% else %} {% endif %}
Avatar {{ user.username }} {%- if user|is_online %} Online {%- else %} Offline {%- endif %}
{{ user.primary_group.name }}
Posts: {{ user.post_count }}
Registered since: {{ user.date_joined|format_date('%b %d %Y') }}
{{ post.username }}
Guest
{% autoescape false %} {{ post.content|markup }} {% if post.user_id and user.signature %}

{{ user.signature|markup }}
{% endif %} {% endautoescape %}
{% if current_user.is_authenticated() and post.user_id and post.user_id != current_user.id %} PM {% endif %} {% if user.website %} {% if current_user.is_authenticated() %}| {% endif %}Website {% endif %} {% if current_user.is_authenticated() %} Report | {% endif %} {% if current_user|edit_post(post) %} Edit | {% endif %} {% if topic.first_post_id == post.id %} {% if current_user|delete_topic(topic) %} Delete | {% endif %} {% else %} {% if current_user|delete_post(post) %} Delete | {% endif %} {% endif %} {% if current_user|post_reply(topic) %} Quote | Reply {% endif %}
{% include 'forum/topic_controls.html' %} {% if form %} {% from "macros.html" import render_field %}
{{ form.hidden_tag() }} {{ render_field(form.content, div_class="col-sm-12 reply-content", rows=5) }}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}