Don’t show the key of other Sones.
[Sone.git] / src / main / resources / templates / viewSone.html
1 <%include include/head.html>
2
3         <%ifnull sone.name>
4
5                 <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
6
7                 <p><%= Page.ViewSone.UnknownSone.Description|l10n|html></p>
8
9         <%else>
10
11                 <%if ! sone.current>
12                         <%include include/viewSone.html>
13                 <%/if>
14
15                 <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
16
17                 <div id="posts">
18                         <%getpage parameter=postPage>
19                         <%paginate list=sone.posts pagesize=25>
20                         <%= postPage|store key=pageParameter>
21                         <%include include/pagination.html>
22                         <%foreach pagination.items post>
23                                 <%include include/viewPost.html>
24                         <%foreachelse>
25                                 <div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>
26                         <%/foreach>
27                         <%include include/pagination.html>
28                 </div>
29
30         <%/if>
31
32 <%include include/tail.html>