{% load i18n pybb_tags thumbnail guardian_tags %} {# may be remove this string? #}
{% if post.pk %} {% if page %} # {% else %} # {% endif %} {% endif %} {% pybb_time post.created %} | |
---|---|
{% include "pybb/avatar.html" %}
{{ post.user_ip }}
{% endif %}
{% if post.pk %}
{% if user.is_moderator and "can_change_post" in forum_perms or post|pybb_posted_by:user %}
{% trans "Edit" %}
{% endif %}
{% if user.is_moderator %}
{% if "can_delete_post" in forum_perms %}
{% trans "Delete" %}
{% endif %}
{% if post.on_moderation %}
{% trans "Approve post" %}
{% endif %}
{% endif %}
{% endif %}
|
{% if user.is_superuser or user.is_staff or "can_see_user_ip" in forum_perms %}
{{ post.body_html|safe }} {% if post.updated %} | {% endif %} {% if post.pk %} {% endif %}