X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fbookmarks.html;h=8768b5ac4fc035ca9d9b7f629b936916851d73c3;hb=c3745c94d79e6fba53c95003287f539b79b2e749;hp=af592db3ecd2f57ef6fe4a26b5b685693b391fae;hpb=f5ae451a5603ac8865d731e059d656a6dc47d515;p=Sone.git diff --git a/src/main/resources/templates/bookmarks.html b/src/main/resources/templates/bookmarks.html index af592db..8768b5a 100644 --- a/src/main/resources/templates/bookmarks.html +++ b/src/main/resources/templates/bookmarks.html @@ -7,21 +7,14 @@
<%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>