Show hint if some posts could not be shown.
[Sone.git] / src / main / resources / templates / bookmarks.html
1 <%include include/head.html>
2
3         <div class="page-id hidden">bookmarks</div>
4
5         <h1><%= Page.Bookmarks.Page.Title|l10n|html></h1>
6
7         <div id="posts">
8                 <%include include/pagination.html>
9                 <%foreach posts post>
10                         <%if post.loaded>
11                                 <%= true|store key=postShown>
12                                 <%include include/viewPost.html>
13                         <%else>
14                                 <%= true|store key=postNotLoaded>
15                         <%/if>
16                 <%/foreach>
17                 <%if postNotLoaded>
18                         <p><%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html></p>
19                 <%else>
20                         <%if !postShown>
21                                 <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
22                         <%/if>
23                 <%/if>
24                 <%include include/pagination.html>
25         </div>
26
27 <%include include/tail.html>