template posts: remove spacings

This commit is contained in:
Zankaria 2025-01-04 00:32:08 +01:00 committed by Zankaria
parent 711481b6ab
commit 967a1e6e81
3 changed files with 5 additions and 8 deletions

View File

@ -1 +1 @@
<time datetime="{{ post.time|date('Y-m-d\\TH:i:s\Z') }}" title="{{ post.time|date('Y-m-d\\TH:i:s\Z') }}">{{ post.time|date(config.post_date) }}</time>
<time datetime="{{ post.time|date('Y-m-d\\TH:i:s\Z') }}" title="{{ post.time|date('Y-m-d\\TH:i:s\Z') }}">{{ post.time|date(config.post_date) }}</time>

View File

@ -9,9 +9,8 @@
{% include 'post/name.html' %}
{% include 'post/ip.html' %}
{% include 'post/flag.html' %}
{% include 'post/poster_id.html' %}
</label>
{% apply spaceless %}
{% include 'post/poster_id.html' %}
<label class="post-details">
{% include 'post/time.html' %}
<a class="post_no" id="post_no_{{ post.id }}" title="Link to this post" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', config.file_page50) }}{% else %}{{ post.link }}{% endif %}">No.</a>
@ -20,7 +19,6 @@
<label class="user-controls">{# Used by some js #}</label>
</p>
<div class="head">
{% endapply %}
{% include 'post/post_controls.html' %}
{% include 'post/fileinfo.html' %}
</div>

View File

@ -4,7 +4,6 @@
<div class="thread" id="thread_{{ post.id }}" data-board="{{ board.uri }}">
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
{% endapply %}
<div class="post op" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}>
<p class="intro">
<label for="delete_{{ post.id }}">
@ -13,9 +12,8 @@
{% include 'post/name.html' %}
{% include 'post/ip.html' %}
{% include 'post/flag.html' %}
{% include 'post/poster_id.html' %}
</label>
{% apply spaceless %}
{% include 'post/poster_id.html' %}&nbsp;
<label class="post-details">
{% include 'post/time.html' %}
<a class="post_no" id="post_no_{{ post.id }}" title="Link to this post" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', '50') }}{% else %}{{ post.link }}{% endif %}">No.</a>
@ -93,10 +91,11 @@
{% endif %}
{% if not index %}
{% endif %}
</div><br>{% endapply %}
</div><br>
{% set hr = post.hr %}
{% for post in post.posts %}
{% include 'post_reply.html' %}
{% endfor %}
<br class="clear"/>{% if hr %}<hr/>{% endif %}
</div>
{% endapply %}