{% 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 %}
{% if truncated %} {{ post.get_text|truncatewords_html:50|truncatenewlines_html:3|safe }} {% else %} {{ post.get_text|safe }} {% endif %}
{% if post.is_referenced and not mode_tree %}
{% trans "Replies" %}: {{ post.refmap|safe }}
{% endif %} {% comment %} Thread metadata: counters, tags etc {% endcomment %} {% if is_opening %}
{% if need_open_link %} ♥ {{ thread.get_reply_count }} ❄ {{ thread.get_attachment_count }} G T {% endif %} {{ thread.get_tag_url_list|safe }}
{% endif %}
{% endautoescape %}