<%include include/head.html>
- <script language="javascript">
- $(document).ready(function() {
- addCommentLinks();
- });
- </script>
-
<%ifnull sone.name>
<h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
<div class="import-key"><% sone.requestUri|html></div>
</div>
+ <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
+
<div id="posts">
- <%foreach sone.posts post>
- <%first>
- <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
- <%/first>
+ <%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>
<div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>
<%/foreach>
- </div>
-
- <h1><%= Page.ViewSone.Following.Title|l10n|html></h1>
-
- <div id="following">
- <%foreach sone.friends sone>
- <%include include/viewSone.html>
- <%foreachelse>
- <div><%= Page.ViewSone.Following.FollowingNone.Text|l10n|html></div>
- <%/foreach>
+ <%include include/pagination.html>
</div>
<%/if>