Update year in copyright lines
[Sone.git] / src / main / resources / templates / bookmarks.html
index ddf2bfc..ef2cf68 100644 (file)
@@ -5,13 +5,16 @@
        <h1><%= Page.Bookmarks.Page.Title|l10n|html></h1>
 
        <div id="posts">
-               <%include include/pagination.html>
+               <%include include/pagination.html pageParameter==page>
                <%foreach posts post>
                        <%include include/viewPost.html>
-               <%foreachelse>
-                       <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
                <%/foreach>
-               <%include include/pagination.html>
+               <%include include/pagination.html pageParameter==page>
+               <%if postsNotLoaded>
+                       <p><%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html|replace needle=='{link}' replacement=='<a href="unbookmark.html?post=allNotLoaded">'|replace needle=='{/link}' replacement=='</a>'></p>
+               <%elseif posts.empty>
+                       <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
+               <%/if>
        </div>
 
 <%include include/tail.html>