2013-06-24 08:44:19 -04:00
|
|
|
{% filter remove_whitespace %}
|
|
|
|
{# tabs and new lines will be ignored #}
|
|
|
|
|
2016-05-06 06:10:50 -04:00
|
|
|
<div class="thread" id="thread_{{ post.id }}" data-board="{{ board.uri }}">
|
2014-06-12 11:36:01 -04:00
|
|
|
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
|
2013-06-24 08:44:19 -04:00
|
|
|
|
2014-04-27 09:48:47 -04:00
|
|
|
{% include 'post/fileinfo.html' %}
|
2014-09-30 02:24:12 -04:00
|
|
|
<div class="post op" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro">
|
2013-06-24 08:44:19 -04:00
|
|
|
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
|
|
|
|
<label for="delete_{{ post.id }}">
|
2014-04-16 09:01:37 -04:00
|
|
|
{% include 'post/subject.html' %}
|
|
|
|
{% include 'post/name.html' %}
|
|
|
|
{% include 'post/ip.html' %}
|
2014-04-16 05:54:41 -04:00
|
|
|
{% include 'post/flag.html' %}
|
2014-04-16 09:01:37 -04:00
|
|
|
{% include 'post/time.html' %}
|
2013-06-24 08:44:19 -04:00
|
|
|
</label>
|
2014-06-12 11:36:01 -04:00
|
|
|
{% include 'post/poster_id.html' %}
|
2015-03-10 07:48:59 -04:00
|
|
|
<a class="post_no" id="post_no_{{ post.id }}" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', '50') }}{% else %}{{ post.link }}{% endif %}">No.</a>
|
|
|
|
<a class="post_no" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', '50') }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
|
2013-07-23 09:38:42 -04:00
|
|
|
{% if post.sticky %}
|
|
|
|
{% if config.font_awesome %}
|
2015-04-03 02:56:28 -04:00
|
|
|
<i class="fa fa-thumb-tack" title="Sticky"></i>
|
2013-07-31 04:28:26 -04:00
|
|
|
{% else %}
|
2013-07-23 09:38:42 -04:00
|
|
|
<img class="icon" title="Sticky" src="{{ config.image_sticky }}" alt="Sticky" />
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2013-07-23 09:38:42 -04:00
|
|
|
{% if post.locked %}
|
|
|
|
{% if config.font_awesome %}
|
2015-04-03 02:56:28 -04:00
|
|
|
<i class="fa fa-lock" title="Locked"></i>
|
2013-07-31 04:28:26 -04:00
|
|
|
{% else %}
|
2013-07-23 09:38:42 -04:00
|
|
|
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2013-07-23 09:38:42 -04: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 %}
|
2015-04-03 02:56:28 -04:00
|
|
|
<i class="fa fa-anchor" title="Bumplocked"></i>
|
2013-07-31 04:28:26 -04:00
|
|
|
{% else %}
|
2013-07-23 09:38:42 -04:00
|
|
|
<img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Bumplocked" />
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2015-04-03 02:56:28 -04:00
|
|
|
{% if post.cycle %}
|
|
|
|
{% if config.font_awesome %}
|
|
|
|
<i class="fa fa-refresh" title="Cyclical"></i>
|
|
|
|
{% else %}
|
|
|
|
<img class="icon" title="Cyclical" src="{{ config.image_sticky }}" alt="Cyclical" />
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2013-06-24 08:44:19 -04:00
|
|
|
{% if index %}
|
2015-03-10 07:48:59 -04:00
|
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}Reply{% endtrans %}]</a>
|
2013-08-10 17:16:30 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if isnoko50 %}
|
2015-03-10 07:48:59 -04:00
|
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}View All{% endtrans %}]</a>
|
2013-08-10 17:16:30 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if hasnoko50 and not isnoko50 %}
|
|
|
|
{% set lastcount = config.noko50_count %}
|
2015-03-10 07:48:59 -04:00
|
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post, true) }}">[{% trans %}Last 1 Post{% plural lastcount %}Last {{ count }} Posts{% endtrans %}]</a>
|
2013-06-24 08:44:19 -04:00
|
|
|
{% endif %}
|
2014-04-30 17:18:35 -04:00
|
|
|
{% include 'post/post_controls.html' %}
|
2013-06-24 08:44:19 -04:00
|
|
|
</p>
|
|
|
|
<div class="body">
|
|
|
|
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
|
2013-08-16 07:25:56 -04:00
|
|
|
{% if post.modifiers['ban message'] %}
|
|
|
|
{{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
|
|
|
|
{% endif %}
|
2013-06-24 08:44:19 -04: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 17:52:35 -04:00
|
|
|
{% endif %} {% trans %}omitted. Click reply to view.{% endtrans %}
|
2013-06-24 08:44:19 -04:00
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
{% if not index %}
|
|
|
|
{% endif %}
|
|
|
|
</div>{% endfilter %}
|
2017-03-09 21:34:46 -05:00
|
|
|
{% set iparray = [post.ip] %}
|
2013-06-24 08:44:19 -04:00
|
|
|
{% set hr = post.hr %}
|
|
|
|
{% for post in post.posts %}
|
2017-03-09 21:34:46 -05:00
|
|
|
{% if post.ip not in iparray %}
|
|
|
|
{% set iparray = iparray|merge([post.ip]) %}
|
|
|
|
{% endif %}
|
2013-06-24 08:44:19 -04:00
|
|
|
{% include 'post_reply.html' %}
|
|
|
|
{% endfor %}
|
2017-03-09 21:34:46 -05:00
|
|
|
{% if mod and not index %}
|
2017-05-31 18:16:54 -04:00
|
|
|
<div id="uniqueip"><span style="display: block; float: left;">Unique IPs: {{ iparray|length }} </span></div>
|
2017-03-09 21:34:46 -05:00
|
|
|
{% endif %}
|
2013-06-24 08:44:19 -04:00
|
|
|
<br class="clear"/>{% if hr %}<hr/>{% endif %}
|
|
|
|
</div>
|