{% load i18n pybb_tags thumbnail %} {# may be remove this string? #}
{% pybb_time post.created %}
{% include "pybb/avatar.html" %} {% if post.user.get_profile.rank %} {% with post.user.get_profile as profile %}
{% trans "Rank" %}: {{ profile.rank }} {% if user.is_authenticated and user != post.user %} + - {% endif %}
{% endwith %} {% endif %} {% if user.is_superuser %}
{{ post.user_ip }}
{% endif %}
{% if user.is_moderator or post|pybb_posted_by:user %} {% trans "Edit" %} {% endif %} {% if user.is_moderator %} {% trans "Delete" %} {% if post.on_moderation %} {% trans "Approve post" %} {% endif %} {% endif %} {% if perms.pybb.change_post and user.is_staff %} {% trans 'Admin' %} {% endif %}
{{ post.body_html|safe }} {% if not user.is_authenticated or user.get_profile.show_signatures %} {% if post.user.get_profile.signature %}
{{ post.user.get_profile.signature_html|safe }}
{% endif %} {% endif %} {% if post.updated %}
{% trans "Edited" %} {% pybb_time post.updated %}
{% endif %} {% comment %} {% if post.attachment_cache %} {% for attach in post.attachment_cache %}
{% trans "Attachment" %}: {{ attach.name }} ({{ attach.size_display }}) {% endfor %} {% endif %} {% endcomment %}
{% trans "quote" %}
{% for attachment in post.attachments.all %} {{ attachment.size_display }} {% endfor %}