{% load i18n %}
{% load board %}
{% get_current_language as LANGUAGE_CODE %}
{% autoescape off %}
#{{ post.id }}
{% if is_opening %}
{% if thread.is_stickerpack %}
📷
{% elif thread.is_monochrome %}
☯
{% endif %}
{% endif %}
{{ post.title|escape }}
{% if post.tripcode %}
/ {{ post.get_tripcode.get_view|safe }}
{% endif %}
{% comment %}
Thread death time needs to be shown only if the thread is alredy archived
and this is an opening post (thread death time) or a post for popup
(we don't see OP here so we show the death time in the post itself).
{% endcomment %}
{% if is_opening %}
{% if thread.is_archived %}
—
{% endif %}
{% if need_open_link %}
{% trans "Open" %}
{% endif %}
{% else %}
{% if need_op_data %}
{% with thread.get_opening_post as op %}
{% trans " in " %}{{ op.get_link_view|safe }} {{ op.get_title_or_text }}
{% endwith %}
{% endif %}
{% endif %}
{% if reply_link and not thread.is_archived %}
{% trans 'Reply' %}
{% endif %}
⋮
{% for file in post.attachments.all %}
{{ file.get_view|safe }}
{% endfor %}
{% comment %}
Post message (text)
{% endcomment %}