summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-05-24 22:19:29 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-05-24 22:21:07 +0200
commit14e59440fd5f03d046e4e329eec73560450f1467 (patch)
treed7babd441d7ecb24c5911690cff4fcfb17be75ef /src/main/resources/templates/benki
parent34453241b6b7fd5159ef26c8268cbb5cc014e22c (diff)
KB66 Add comment post form.
Change-Id: Iac22d115f0d1c59eb273a26d720c07f6d1b11077
Diffstat (limited to 'src/main/resources/templates/benki')
-rw-r--r--src/main/resources/templates/benki/posts/postList.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/benki/posts/postList.html
index fc874cf..0fc8a6d 100644
--- a/src/main/resources/templates/benki/posts/postList.html
+++ b/src/main/resources/templates/benki/posts/postList.html
@@ -83,7 +83,9 @@
{post.descriptionHtml.raw}
</div>
- <div class="comment-box"></div>
+ {#if showCommentBox}
+ {#commentBox postId=post.id /}
+ {/if}
</article>
{#else}
<article class="lazychat-message">
@@ -113,6 +115,10 @@
<div class="lazychat-message-content post-content">
{post.descriptionHtml.raw}
</div>
+
+ {#if showCommentBox}
+ {#commentBox postId=post.id /}
+ {/if}
</article>
{/if}
{/for}