{% extends theme("layout.html") %} {% set page_title = _("%(title)s - Topic", title=topic.title) %} {% set active_forum_nav=True %} {% block css %} {% endblock %} {% block content %} {% from theme('macros.html') import render_pagination, form_field %}
{% include 'forum/topic_controls.html' %}#{%- 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 %} ({% trans %}Last modified{% endtrans %}: {{ post.date_modified|format_date }} {% trans %}by{% endtrans %} {{ post.modified_by }} .) {% endif %} | ||||
|
||||
{% autoescape false %}
{{ post.content|markup }}
{% if post.user_id and user.signature %}
{{ user.signature|markup }} |
||||
{% if current_user.is_authenticated() and post.user_id and post.user_id != current_user.id %} {% trans %}PM{% endtrans %} {% endif %} {% if user.website %} {% if current_user.is_authenticated() %}| {% endif %}{% trans %}Website{% endtrans %} {% endif %} {% if current_user.is_authenticated() %} {% trans %}Report{% endtrans %} | {% endif %} {% if current_user|edit_post(post) %} {% trans %}Edit{% endtrans %} | {% endif %} {% if topic.first_post_id == post.id %} {% if current_user|delete_topic(topic) %} {% endif %} {% else %} {% if current_user|delete_post(post) %} {% endif %} {% endif %} {% if current_user|can_moderate(topic.forum) %} {% endif %} {% if current_user|post_reply(topic) %} {% trans %}Quote{% endtrans %} | {% trans %}Reply{% endtrans %} {% endif %} |