projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix album browser include.
[Sone.git]
/
src
/
main
/
resources
/
templates
/
bookmarks.html
diff --git
a/src/main/resources/templates/bookmarks.html
b/src/main/resources/templates/bookmarks.html
index
4657d20
..
8768b5a
100644
(file)
--- a/
src/main/resources/templates/bookmarks.html
+++ b/
src/main/resources/templates/bookmarks.html
@@
-7,21
+7,14
@@
<div id="posts">
<%include include/pagination.html>
<%foreach posts post>
<div id="posts">
<%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>
<%/foreach>
- <%if postNotLoaded>
- <p><%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html></p>
- <%else>
- <%if !postShown>
- <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
- <%/if>
- <%/if>
<%include include/pagination.html>
<%include include/pagination.html>
+ <%if postsNotLoaded>
+ <p><%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html|replace needle='{link}' replacement='<a href="unbookmark.html?post=allNotLoaded">'|replace needle='{/link}' replacement='</a>'></p>
+ <%elseif posts.empty>
+ <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
+ <%/if>
</div>
<%include include/tail.html>
</div>
<%include include/tail.html>