Wrap up post replies in a postcontainer div

This commit is contained in:
Michael Walker 2014-11-13 00:20:04 +00:00
parent c1c8e387f6
commit b33c44cb10

View File

@ -1,27 +1,32 @@
{% filter remove_whitespace %} {% filter remove_whitespace %}
{# tabs and new lines will be ignored #} {# tabs and new lines will be ignored #}
<div class="post reply" id="reply_{{ post.id }}"> <div class="postcontainer" id="pc{{ post.id }}">
<p class="intro"> <div class="sidearrows" id="sa{{ post.id }}">
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %} &gt;&gt;
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" /> </div>
<label for="delete_{{ post.id }}"> <div class="post reply" id="reply_{{ post.id }}">
{% include 'post/subject.html' %} <p class="intro">
{% include 'post/name.html' %} {% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
{% include 'post/ip.html' %} <input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
{% include 'post/flag.html' %} <label for="delete_{{ post.id }}">
{% include 'post/time.html' %} {% include 'post/subject.html' %}
</label> {% include 'post/name.html' %}
{% include 'post/poster_id.html' %}&nbsp; {% include 'post/ip.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> {% include 'post/flag.html' %}
<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/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> </p>
{% include 'post/fileinfo.html' %} {% include 'post/fileinfo.html' %}
{% include 'post/post_controls.html' %} {% include 'post/post_controls.html' %}
<div class="body" {% if post.files|length > 1 %}style="clear:both"{% endif %}> <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 %} {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
{% if post.modifiers['ban message'] %} {% if post.modifiers['ban message'] %}
{{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }} {{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
{% endif %} {% endif %}
</div>
</div> </div>
</div> </div>
<br/> <br/>