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

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

+ <%= page|store key=pageParameter> <%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>