X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=066adef3befe58a03e3e6536c5d1b5bd7b3761c7;hb=refs%2Ftags%2F0.6;hp=a180fe1eaf7b1e09bd53cf05b3ee94cc9dd9ee51;hpb=ece9119924c20b12ef1c2f0908a92dc8323f8884;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index a180fe1..066adef 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -60,18 +60,19 @@

<%= Page.ViewSone.PostList.Title|l10n|replace needle="{sone}" replacementKey=sone.niceName|html>

-
- <%:getpage parameter=postPage> - <%:paginate list=sone.posts pagesize=25> - <%= postPage|store key=pageParameter> - <%include include/pagination.html> - <%foreach pagination.items post> - <%include include/viewPost.html> - <%foreachelse> -
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
- <%/foreach> - <%include include/pagination.html> -
+ <%foreach posts post> + <%first> +
+ <%include include/pagination.html pagination=postPagination pageParameter==postPage> + <%/first> + <%include include/viewPost.html> + <%last> + <%include include/pagination.html pagination=postPagination pageParameter==postPage> +
+ <%/last> + <%foreachelse> +
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
+ <%/foreach> <%foreach repliedPosts post> <%first>