Merge branch 'next' into image-management
[Sone.git] / src / main / resources / templates / bookmarks.html
index ddf2bfc..8768b5a 100644 (file)
@@ -8,10 +8,13 @@
                <%include include/pagination.html>
                <%foreach posts post>
                        <%include include/viewPost.html>
-               <%foreachelse>
-                       <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
                <%/foreach>
                <%include include/pagination.html>
+               <%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>