summaryrefslogtreecommitdiff
path: root/templates/post_reply.html
blob: 14aea5c3f4e323c5e9b23556cd8bb947fde99f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% filter remove_whitespace %}
{# tabs and new lines will be ignored #}
<div class="postcontainer" id="pc{{ post.id }}" data-board="{{ board.uri }}">
	<div class="sidearrows">&gt;&gt;</div>
	<div class="post reply" id="reply_{{ post.id }}">
	<p class="intro">
		{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
		<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' %}&nbsp;
		<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>
	</p>
	    {% include 'post/fileinfo.html' %} 
	    {% include 'post/post_controls.html' %}
		<div class="body" {% if post.files|length > 1 %}style="clear:both"{% endif %}>
			{% 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 %}
			{% if post.modifiers['warning message'] %}
				{{ config.mod.warning_message|sprintf(post.modifiers['warning message']) }}
			{% endif %}
		</div>
	</div>
</div>
<br/>
{% endfilter %}