From f435e6610289cd298c9e5e5c22f30479a3ef646a Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 5 Jun 2022 16:27:10 +0200 Subject: Upgrade to Quarkus 2.9.2.Final. Change-Id: I9cf42af869056b7c944c891d6dc008a640c82edc --- .../java/eu/mulk/mulkcms2/benki/posts/PostResource.java | 4 ++-- src/main/resources/templates/PostResource/postList.html | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'src') 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 1870709..07a9f2f 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java @@ -106,8 +106,8 @@ public abstract class PostResource { @CheckedTemplate static class Templates { - public static native TemplateInstance postList( - List>>> postDays, + public static native

> TemplateInstance postList( + List> postDays, @CheckForNull String feedUri, String pageTitle, Boolean showBookmarkForm, diff --git a/src/main/resources/templates/PostResource/postList.html b/src/main/resources/templates/PostResource/postList.html index 8c66e1d..89267a2 100644 --- a/src/main/resources/templates/PostResource/postList.html +++ b/src/main/resources/templates/PostResource/postList.html @@ -1,3 +1,16 @@ +{@java.util.List>> postDays} +{@java.lang.String feedUri} +{@java.lang.String pageTitle} +{@boolean showBookmarkForm} +{@boolean showLazychatForm} +{@boolean showCommentBox} +{@boolean hasPreviousPage} +{@boolean hasNextPage} +{@java.lang.Integer previousCursor} +{@java.lang.Integer nextCursor} +{@java.lang.Integer pageSize} +{@java.lang.String searchQuery} + {#include base.html} {#title}Benki {pageTitle}{/title} -- cgit v1.2.3