{% if post.id and not thread.is_locked and
has_perm_or_owns('forums_forum.post_edit_forum', post, forum, 'author') %}
{% endif %}
{% if post.id and has_perm('forums_forum.post_delete_forum', forum) %}
{% endif %}
{{ post.content_parsed }}
{{ datetimeformat(post.created, format='longdatetime') }}
#
{% if post.id and user.is_authenticated() and not thread.is_locked %}
{{ _('Reply') }}
{% endif %}
{% if post.created != post.updated %}
{{ _('Modified by {name} on {datetime}')|fe(name=post.updated_by.username, datetime=datetimeformat(post.updated, format='longdatetime')) }}
{% endif %}