X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;fp=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;h=af592db3ecd2f57ef6fe4a26b5b685693b391fae;hp=ddf2bfca95ecd7f728e5d2677ce5e99c670366d0;hb=f5ae451a5603ac8865d731e059d656a6dc47d515;hpb=15bae914fb87a6706530b9a8f5564d1a71901ecf diff --git a/src/main/resources/templates/bookmarks.html b/src/main/resources/templates/bookmarks.html index ddf2bfc..af592db 100644 --- a/src/main/resources/templates/bookmarks.html +++ b/src/main/resources/templates/bookmarks.html @@ -7,10 +7,20 @@
<%include include/pagination.html> <%foreach posts post> - <%include include/viewPost.html> - <%foreachelse> -

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

+ <%if post.loaded> + <%= true|store key=postShown> + <%include include/viewPost.html> + <%else> + <%= true|store key=postNotLoaded> + <%/if> <%/foreach> + <%if postNotLoaded> +

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

+ <%else> + <%if !postShown> +

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

+ <%/if> + <%/if> <%include include/pagination.html>