summaryrefslogtreecommitdiff
path: root/templates/comments/index.jinja
diff options
context:
space:
mode:
authorHombreLaser <buran@silosneeded.com>2024-03-03 20:50:11 -0600
committerHombreLaser <buran@silosneeded.com>2024-03-03 20:50:11 -0600
commitae390aabc9a19e680531241e028877c7ab9a3631 (patch)
tree42b0f495bdb2025b11fc30a35f52b2f1143e4ef3 /templates/comments/index.jinja
parentb76df14f11491a4086d08ad5ff4bdb8f203e647f (diff)
Improve replies handling
Diffstat (limited to 'templates/comments/index.jinja')
-rw-r--r--templates/comments/index.jinja6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/comments/index.jinja b/templates/comments/index.jinja
index ebf1e4e..25eb22e 100644
--- a/templates/comments/index.jinja
+++ b/templates/comments/index.jinja
@@ -20,10 +20,12 @@
</textarea>
<section class="replies-thread">
<div class="reply-tag">
- <input class="replies-button" type="button" value="Replies" />
+ {% if comment.replies %}
+ <input class="replies-button" type="button" value="Replies" />
+ {% endif %}
<input class="new-reply-button" type="button" value="New Reply" />
</div>
- <div id="comment-replies-{{ comment.id }}">
+ <div id="comment-replies-{{ comment.id }}" class="comment-replies">
</div>
</section>
</div>