Add test for PostPart
[Sone.git] / src / main / resources / templates / bookmarks.html
1 <%include include/head.html>
2
3         <div class="page-id hidden">bookmarks</div>
4
5         <h1><%= Page.Bookmarks.Page.Title|l10n|html></h1>
6
7         <div id="posts">
8                 <%include include/pagination.html pageParameter==page>
9                 <%foreach posts post>
10                         <%include include/viewPost.html>
11                 <%/foreach>
12                 <%include include/pagination.html pageParameter==page>
13                 <%if postsNotLoaded>
14                         <p><%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html|replace needle=='{link}' replacement=='<a href="unbookmark.html?post=allNotLoaded">'|replace needle=='{/link}' replacement=='</a>'></p>
15                 <%elseif posts.empty>
16                         <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
17                 <%/if>
18         </div>
19
20 <%include include/tail.html>