{% load i18n %} {% load lbforum_filters %} {% load lbforum_tags %} {% load avatar_tags %}

{% page_item_idx page_obj forloop %} {{ post.created_on|lbtimesince }}

{% if not post.topic_post or not post.topic.need_reply or has_replied %}

{% bbcode post.message has_replied %}

{% if post.edited_by %}

Last edited by {{post.edited_by}} ({{post.updated_on|date:"Y-m-d H:i"}})

{% endif %} {% if post.has_attachments %}
{% trans "Attachments" %}:
    {% for attachment in post.file_attachments %}
  • {% show_attach attachment post has_replied hide_attachs %} {{ attachment.description }}
  • {% endfor %}
{% endif %} {% if post.has_imgs %}
{% trans "Show Image Attachments" %}
{% trans "Image Attachments" %}:
    {% for attachment in post.img_attachments %}
  • {% show_attach attachment post has_replied hide_attachs %} {{ attachment.description }}
  • {% endfor %}
{% endif %} {% else %} {% trans "to see the content, user must reply first." %} {% endif %} {% if post.posted_by.lbforum_profile.signature %}
{{ post.posted_by.lbforum_profile.signature|bbcode|safe }}
{% endif %}
{% if user.is_authenticated %}

{% trans "quote" %} {% if user == post.posted_by or user.is_staff %} {% trans "edit" %} {% endif %} {% if user.is_staff and not post.topic_post %} {% trans "delete" %} {% endif %}

{% endif %}