2013-06-24 14:44:19 +02:00
|
|
|
{% filter remove_whitespace %}
|
|
|
|
{# tabs and new lines will be ignored #}
|
|
|
|
|
2013-06-24 14:46:59 +02:00
|
|
|
<div id="thread_{{ post.id }}" data-board="{{ board.uri }}">
|
2014-04-27 15:48:47 +02:00
|
|
|
{% include 'post/fileinfo.html' %}
|
|
|
|
<div class="post op" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
|
2013-06-24 14:44:19 +02:00
|
|
|
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
|
|
|
|
<label for="delete_{{ post.id }}">
|
2014-04-16 15:01:37 +02:00
|
|
|
{% include 'post/subject.html' %}
|
|
|
|
{% include 'post/name.html' %}
|
|
|
|
{% include 'post/ip.html' %}
|
2014-04-16 11:54:41 +02:00
|
|
|
{% include 'post/flag.html' %}
|
2014-04-16 15:01:37 +02:00
|
|
|
{% include 'post/time.html' %}
|
2013-06-24 14:44:19 +02:00
|
|
|
</label>
|
2014-04-16 15:01:37 +02:00
|
|
|
{% include 'post/poster_id.html' %}
|
2013-12-25 14:23:16 +01:00
|
|
|
<a class="post_no" onclick="return document.querySelectorAll('div.banner').length ? highlightReply({{ post.id }}) : true;" href="{{ post.link }}">No.</a>
|
|
|
|
<a class="post_no" onclick="return document.querySelectorAll('div.banner').length ? citeReply({{ post.id }}) : true;" href="{{ post.link('q') }}">
|
|
|
|
{{ post.id }}
|
|
|
|
</a>
|
2013-07-23 15:38:42 +02:00
|
|
|
{% if post.sticky %}
|
|
|
|
{% if config.font_awesome %}
|
2014-01-14 22:29:40 +01:00
|
|
|
<i class="fa fa-thumb-tack"></i>
|
2013-07-31 10:28:26 +02:00
|
|
|
{% else %}
|
2013-07-23 15:38:42 +02:00
|
|
|
<img class="icon" title="Sticky" src="{{ config.image_sticky }}" alt="Sticky" />
|
2013-07-31 10:28:26 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2013-07-23 15:38:42 +02:00
|
|
|
{% if post.locked %}
|
|
|
|
{% if config.font_awesome %}
|
2014-01-14 22:29:40 +01:00
|
|
|
<i class="fa fa-lock"></i>
|
2013-07-31 10:28:26 +02:00
|
|
|
{% else %}
|
2013-07-23 15:38:42 +02:00
|
|
|
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
|
2013-07-31 10:28:26 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2013-07-23 15:38:42 +02:00
|
|
|
{% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
|
|
|
|
{% if config.font_awesome %}
|
2014-01-14 22:29:40 +01:00
|
|
|
<i class="fa fa-anchor"></i>
|
2013-07-31 10:28:26 +02:00
|
|
|
{% else %}
|
2013-07-23 15:38:42 +02:00
|
|
|
<img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Bumplocked" />
|
2013-07-31 10:28:26 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2013-06-24 14:44:19 +02:00
|
|
|
{% if index %}
|
2013-08-11 23:52:35 +02:00
|
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}Reply{% endtrans %}]</a>
|
2013-08-10 23:16:30 +02:00
|
|
|
{% 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 %}
|
2013-08-11 23:52:35 +02:00
|
|
|
<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>
|
2013-06-24 14:44:19 +02:00
|
|
|
{% endif %}
|
|
|
|
{{ post.postControls }}
|
|
|
|
</p>
|
|
|
|
<div class="body">
|
|
|
|
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
|
2013-08-16 13:25:56 +02:00
|
|
|
{% if post.modifiers['ban message'] %}
|
|
|
|
{{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
|
|
|
|
{% endif %}
|
2013-06-24 14:44:19 +02:00
|
|
|
</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 %}
|
2013-08-11 23:52:35 +02:00
|
|
|
{% endif %} {% trans %}omitted. Click reply to view.{% endtrans %}
|
2013-06-24 14:44:19 +02:00
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
{% if not index %}
|
|
|
|
{% endif %}
|
|
|
|
</div>{% endfilter %}
|
|
|
|
{% set hr = post.hr %}
|
|
|
|
{% for post in post.posts %}
|
|
|
|
{% include 'post_reply.html' %}
|
|
|
|
{% endfor %}
|
|
|
|
<br class="clear"/>{% if hr %}<hr/>{% endif %}
|
|
|
|
</div>
|