projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show hint if some posts could not be shown.
[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
ddf2bfc
..
af592db
100644
(file)
--- a/
src/main/resources/templates/bookmarks.html
+++ b/
src/main/resources/templates/bookmarks.html
@@
-7,10
+7,20
@@
<div id="posts">
<%include include/pagination.html>
<%foreach posts post>
<div id="posts">
<%include include/pagination.html>
<%foreach posts post>
- <%include include/viewPost.html>
- <%foreachelse>
- <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
+ <%if post.loaded>
+ <%= true|store key=postShown>
+ <%include include/viewPost.html>
+ <%else>
+ <%= true|store key=postNotLoaded>
+ <%/if>
<%/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>
</div>
<%include include/pagination.html>
</div>