X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;h=ef2cf68433ecbde804beea3a5b8f0230d22df1cf;hp=315a5e12d9c79ca5c3718ecebbd793c889cd4016;hb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052;hpb=27ce8669e87590ee7519fcb163268e8d2aea9e42 diff --git a/src/main/resources/templates/bookmarks.html b/src/main/resources/templates/bookmarks.html index 315a5e1..ef2cf68 100644 --- a/src/main/resources/templates/bookmarks.html +++ b/src/main/resources/templates/bookmarks.html @@ -5,22 +5,15 @@

<%= Page.Bookmarks.Page.Title|l10n|html>

- <%include include/pagination.html> + <%include include/pagination.html pageParameter==page> <%foreach posts post> - <%if post.loaded> - <%= true|store key=postShown parent=true> - <%include include/viewPost.html> - <%else> - <%= true|store key=postNotLoaded parent=true> - <%/if> + <%include include/viewPost.html> <%/foreach> - <%include include/pagination.html> - <%if postNotLoaded> -

<%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html>

- <%else> - <%if !postShown> -

<%= Page.Bookmarks.Text.NoBookmarks|l10n|html>

- <%/if> + <%include include/pagination.html pageParameter==page> + <%if postsNotLoaded> +

<%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html|replace needle=='{link}' replacement==''|replace needle=='{/link}' replacement==''>

+ <%elseif posts.empty> +

<%= Page.Bookmarks.Text.NoBookmarks|l10n|html>

<%/if>