X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;h=8768b5ac4fc035ca9d9b7f629b936916851d73c3;hp=315a5e12d9c79ca5c3718ecebbd793c889cd4016;hb=70ae6c8bb784c24ac183bb485d0efa324fa0acd2;hpb=190bfffdc3ace288704f8f122580f8d3d7f5957c diff --git a/src/main/resources/templates/bookmarks.html b/src/main/resources/templates/bookmarks.html index 315a5e1..8768b5a 100644 --- a/src/main/resources/templates/bookmarks.html +++ b/src/main/resources/templates/bookmarks.html @@ -7,20 +7,13 @@
<%include include/pagination.html> <%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> + <%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>