mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-13 00:01:16 +01:00
71 lines
2.9 KiB
HTML
71 lines
2.9 KiB
HTML
{% filter remove_whitespace %}
|
|
{# tabs and new lines will be ignored #}
|
|
|
|
<div class="thread" id="thread_{{ post.id }}" data-board="{{ board.uri }}">
|
|
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
|
|
|
|
{% include 'post/fileinfo.html' %}
|
|
<div class="post op{% if post.files %} has-file{% endif %}{% if post.body_nomarkup %} body-not-empty{% endif %}" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro">
|
|
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
|
|
<label for="delete_{{ post.id }}">
|
|
{% include 'post/subject.html' %}
|
|
{% include 'post/name.html' %}
|
|
{% include 'post/ip.html' %}
|
|
{% include 'post/flag.html' %}
|
|
{% include 'post/time.html' %}
|
|
</label>
|
|
{% include 'post/poster_id.html' %}
|
|
<a class="post_no" id="post_no_{{ post.id }}" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', config.file_page50) }}{% else %}{{ post.link }}{% endif %}">No.</a>
|
|
<a class="post_no" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', config.file_page50) }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
|
|
{% include 'post/mod_attributes.html' %}
|
|
{% if index %}
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}Reply{% endtrans %}]</a>
|
|
{% endif %}
|
|
{% if isnoko50 %}
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}View All{% endtrans %}]</a>
|
|
{% endif %}
|
|
{% if hasnoko50 and not isnoko50 %}
|
|
{% set lastcount = config.noko50_count %}
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page50|sprintf(post.id) }}">[{% trans %}Last 1 Post{% plural lastcount %}Last {{ count }} Posts{% endtrans %}]</a>
|
|
{% endif %}
|
|
{% include 'post/post_controls.html' %}
|
|
</p>
|
|
<div class="body">
|
|
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
|
|
{% if post.modifiers['ban message'] %}
|
|
{{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
|
|
{% endif %}
|
|
</div>
|
|
{% if post.omitted or post.omitted_images %}
|
|
<span class="omitted">
|
|
{% if post.omitted %}
|
|
{% trans %}
|
|
1 post
|
|
{% plural post.omitted %}
|
|
{{ count }} posts
|
|
{% endtrans %}
|
|
{% if post.omitted_images %}
|
|
{% trans %}and{% endtrans %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if post.omitted_images %}
|
|
{% trans %}
|
|
1 image reply
|
|
{% plural post.omitted_images %}
|
|
{{ count }} image replies
|
|
{% endtrans %}
|
|
{% endif %} {% trans %}omitted. Click reply to view.{% endtrans %}
|
|
</span>
|
|
{% endif %}
|
|
{% include 'post/edited_at.html' %}
|
|
{% if not index %}
|
|
{% endif %}
|
|
</div>{% endfilter %}
|
|
{% set hr = post.hr %}
|
|
{% for post in post.posts %}
|
|
{% include 'post_reply.html' %}
|
|
{% endfor %}
|
|
<br class="clear"/>
|
|
</div>
|
|
{% if hr %}<hr/>{% endif %}
|