1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-02 12:57:35 +01:00

post_reply.html: make posts less cluttered

This commit is contained in:
Zankaria 2024-08-16 23:40:25 +02:00 committed by Zankaria
parent be47c7888f
commit e9d4c4c10c

View File

@ -2,22 +2,20 @@
{# tabs and new lines will be ignored #} {# tabs and new lines will be ignored #}
<div class="post reply" id="reply_{{ post.id }}"> <div class="post reply" id="reply_{{ post.id }}">
<p class="intro"> <p class="intro">
{% endapply %}
{% 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 }}"> <label for="delete_{{ post.id }}">
{% 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 }}" />
{% include 'post/subject.html' %} {% include 'post/subject.html' %}
{% include 'post/name.html' %} {% include 'post/name.html' %}
{% include 'post/ip.html' %} {% include 'post/ip.html' %}
{% include 'post/flag.html' %} {% include 'post/flag.html' %}
{% include 'post/time.html' %}
</label> </label>
{% apply spaceless %} {% apply spaceless %}
{% include 'post/poster_id.html' %}&nbsp; {% include 'post/poster_id.html' %}&nbsp;
<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> {% include 'post/time.html' %}
<a class="post_no" title="Reply to this post" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', '50') }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a> <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>
<a class="post_no" title="Reply to this post" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', config.file_page50) }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
</p> </p>
{% endapply %}
{% include 'post/fileinfo.html' %} {% include 'post/fileinfo.html' %}
{% include 'post/post_controls.html' %} {% include 'post/post_controls.html' %}
{% apply spaceless %} {% apply spaceless %}