Add test for DI constructability of UnlikeAjaxPage
[Sone.git] / src / main / resources / templates / search.html
1 <%include include/head.html>
2
3         <h1><%= Page.Search.Page.Title|l10n|html></h1>
4
5         <%foreach soneHits sone>
6                 <%first>
7                         <div id="sone-results">
8                                 <p><%= Page.Search.Text.SoneHits|l10n|html></p>
9                                 <%include include/pagination.html pagination=sonePagination pageParameter==sonePage>
10                 <%/first>
11                 <%include include/viewSone.html>
12                 <%last>
13                                 <%include include/pagination.html pagination=sonePagination pageParameter==sonePage>
14                         </div>
15                 <%/last>
16         <%/foreach>
17
18         <%foreach postHits post>
19                 <%first>
20                         <div id="post-results">
21                                 <p><%= Page.Search.Text.PostHits|l10n|html></p>
22                                 <%include include/pagination.html pagination=postPagination pageParameter==postPage>
23                 <%/first>
24                 <%include include/viewPost.html>
25                 <%last>
26                                 <%include include/pagination.html pagination=postPagination pageParameter==postPage>
27                         </div>
28                 <%/last>
29         <%/foreach>
30
31         <%if soneHits.empty><%if postHits.empty>
32                 <p><%= Page.Search.Text.NoHits|l10n|html></p>
33         <%/if><%/if>
34
35 <%include include/tail.html>