X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;h=ef2cf68433ecbde804beea3a5b8f0230d22df1cf;hp=af592db3ecd2f57ef6fe4a26b5b685693b391fae;hb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052;hpb=13b6e1517335f9e1bcf883ddd6f27fde95ce551b diff --git a/src/main/resources/templates/bookmarks.html b/src/main/resources/templates/bookmarks.html index af592db..ef2cf68 100644 --- a/src/main/resources/templates/bookmarks.html +++ b/src/main/resources/templates/bookmarks.html @@ -5,23 +5,16 @@

<%= 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> - <%include include/viewPost.html> - <%else> - <%= true|store key=postNotLoaded> - <%/if> + <%include include/viewPost.html> <%/foreach> - <%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> - <%include include/pagination.html>
<%include include/tail.html>