-
-
<% post.text|html>
-
<% post.time|date format="MMM d, yyyy, HH:mm:ss">
+
<%= Page.ViewSone.PostList.Title|l10n|replace needle="{sone}" replacementKey=sone.niceName|html>
+
+ <%foreach posts post>
+ <%first>
+
+ <%include include/pagination.html pagination=postPagination pageParameter==postPage paginationName==post-navigation>
+ <%/first>
+ <%include include/viewPost.html>
+ <%last>
+ <%include include/pagination.html pagination=postPagination pageParameter==postPage>
- <%foreach post.replies reply>
-
-
-
<% reply.text|html>
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
-
- <%/foreach>
-
-
+ <%/last>
+ <%foreachelse>
+
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
+ <%/foreach>
+
+ <%foreach repliedPosts post>
+ <%first>
+
<%= Page.ViewSone.Replies.Title|l10n|html|replace needle="{sone}" replacementKey=sone.niceName>
+
+ <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage paginationName==reply-navigation>
+ <%/first>
+ <%include include/viewPost.html>
+ <%last>
+ <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage>
- <%foreachelse>
-
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
- <%/foreach>
-
-
-
<%= Page.ViewSone.Following.Title|l10n|html>
-
-
- <%foreach sone.friends friend>
- <%first>
-
- <%/last>
- <%foreachelse>
-
<%= Page.ViewSone.Following.FollowingNone.Text|l10n|html>
- <%/foreach>
-
+ <%/last>
+ <%/foreach>
<%/if>