{% 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 %}
#{%- 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 %} | ||||
|
||||
{% autoescape false %}
{{ post.content|markup }}
{% if post.user_id and post.user.signature %}
{{ post.user.signature|markup }} |
||||
{% if current_user.is_authenticated and post.user_id %} PM {% endif %} {% if post.user.website %} | Website {% endif %} {% if current_user.is_authenticated() %} Report | {% endif %} {% if current_user|edit_post(post.user_id, topic.forum) %} Edit | {% endif %} {% if topic.first_post_id == post.id %} {% if current_user|delete_topic(topic.first_post.user_id, topic.forum) %} Delete | {% endif %} {% else %} {% if current_user|delete_post(post.user_id, topic.forum) %} Delete | {% endif %} {% endif %} {% if current_user|post_reply(topic.forum) and not (topic.locked or topic.forum.locked) %} Quote | Reply {% endif %} |