X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;h=cf4e7ced94f04441a18a73492a9a13776a32b2c5;hp=af592db3ecd2f57ef6fe4a26b5b685693b391fae;hb=e174a13df3a9de5ab54ede5f2aa761c7727bfaff;hpb=f5ae451a5603ac8865d731e059d656a6dc47d515 diff --git a/src/main/resources/templates/bookmarks.html b/src/main/resources/templates/bookmarks.html index af592db..cf4e7ce 100644 --- a/src/main/resources/templates/bookmarks.html +++ b/src/main/resources/templates/bookmarks.html @@ -5,23 +5,17 @@

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

+ <%= page|store key=pageParameter> <%include include/pagination.html> <%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> - <%/if> <%include include/pagination.html> + <%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/tail.html>