summaryrefslogtreecommitdiff
path: root/src/main/java/eu
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/java/eu
parent34453241b6b7fd5159ef26c8268cbb5cc014e22c (diff)
KB66 Add comment post form.
Change-Id: Iac22d115f0d1c59eb273a26d720c07f6d1b11077
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java
index 8de4677..24a564b 100644
--- a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java
+++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java
@@ -93,6 +93,7 @@ public abstract class PostResource {
String pageTitle,
Boolean showBookmarkForm,
Boolean showLazychatForm,
+ Boolean showCommentBox,
Boolean hasPreviousPage,
Boolean hasNextPage,
@CheckForNull Integer previousCursor,
@@ -160,6 +161,7 @@ public abstract class PostResource {
pageTitle,
showBookmarkForm(),
showLazychatForm(),
+ false,
q.prevCursor != null,
q.nextCursor != null,
q.prevCursor,
@@ -206,6 +208,7 @@ public abstract class PostResource {
pageTitle,
showBookmarkForm(),
showLazychatForm(),
+ false,
q.prevCursor != null,
q.nextCursor != null,
q.prevCursor,
@@ -248,6 +251,7 @@ public abstract class PostResource {
String.format("Post #%d", id),
false,
false,
+ true,
false,
false,
null,