better formatting

This commit is contained in:
2025-04-22 14:50:55 +01:00
parent e366d92950
commit 9760fc88e4
5 changed files with 42 additions and 12 deletions

View File

@@ -14,8 +14,15 @@
<li>
<h3>From {{ reply.user.name }} in /{{ reply.board.name }}/</h3>
<h6>posted at {{ reply.created_at }}</h6>
<p>{{ reply.content }}</p>
<h6><a href="/posts/{{ reply.id }}">View Reply</a></h6>
<p>{{ reply.short_content }}</p>
<h6><a href="/posts/{{ reply.id }}">View Reply</a>
{% if post.replies|length > 0 %}
| ({{ post.replies|length }} replies)
{% endif %}
{% if session.name == "SYSTEM" %}
| <a href="/delete/post/{{ post.id }}">Delete</a>
{% endif %}
</h6>
</li>
{% endfor %}
{% if post.replies|length == 0 %}