lainchan/templates/post_reply.html

31 lines
1.3 KiB
HTML
Raw Normal View History

2013-07-31 04:28:26 -04:00
{% filter remove_whitespace %}
{# tabs and new lines will be ignored #}
<div class="post reply" id="reply_{{ post.id }}">
<p class="intro"{% if not index %} id="{{ post.id }}"{% 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' %}
2013-07-31 04:28:26 -04:00
</label>
{% include 'post/poster_id.html' %}
<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') }}">
2013-07-31 04:28:26 -04:00
{{ post.id }}
</a>
</p>
{% include 'post/fileinfo.html' %}
{% include 'post/post_controls.html' %}
2014-04-27 09:48:47 -04:00
<div class="body" {% if post.files|length > 1 %}style="clear:both"{% endif %}>
2013-07-31 04:28:26 -04:00
{% 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 %}
2013-07-31 04:28:26 -04:00
</div>
</div>
<br/>
{% endfilter %}