{% load i18n %} {% load pybb_tags %} {% load thumbnail %} {# may be remove this string? #}
# {% pybb_time post.created %} | |
---|---|
{% include "pybb/avatar.html" %}
{{ post.user_ip }}
{% endif %}
{% if user.is_moderator or post|pybb_posted_by:user %}
{% trans "Edit" %}
{% endif %}
{% if user.is_moderator %}
{% trans "Delete" %}
{% endif %}
{% if perms.pybb.change_post and user.is_staff %}
{% trans 'Admin' %}
{% endif %}
|
{% if user.is_superuser %}
{% pybb_render_post post %}
{% 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 %}
{% endif %}
{% comment %}
{% if post.attachment_cache %}
{% for attach in post.attachment_cache %}
{% trans "Attachment" %}: {{ attach.name }} ({{ attach.size_display }}) {% endfor %} {% endif %} {% endcomment %} |